Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 111.5 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001633, allocations: 191.9 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 68.17 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3217, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002115/0.3239, allocations: 0.8315 MB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.324, allocations: 39.78 kB / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.3241, allocations: 0 / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.3241, allocations: 7.875 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.055e-05/0.3242, allocations: 15.92 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.794e-05/0.3243, allocations: 15.98 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3244, allocations: 63.77 kB / 0.9521 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3245, allocations: 43.98 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.849e-05/0.3246, allocations: 27.86 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.3246, allocations: 23.86 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.3247, allocations: 4 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.3247, allocations: 19.88 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.3247, allocations: 11.92 kB / 0.9522 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.3248, allocations: 39.73 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3249, allocations: 75.7 kB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3249, allocations: 0 / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3249, allocations: 0 / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3249, allocations: 0 / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004562/0.3254, allocations: 383.1 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3254, allocations: 8.031 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.3255, allocations: 12.84 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.3257, allocations: 196.1 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3257, allocations: 8.375 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.3257, allocations: 4.375 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.3259, allocations: 95.84 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3259, allocations: 4.125 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3259, allocations: 7.938 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3259, allocations: 0 / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.326, allocations: 39.98 kB / 0.953 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.3265, allocations: 432.7 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.3266, allocations: 37.16 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.3267, allocations: 21.84 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3267, allocations: 4 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3267, allocations: 38.48 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.3267, allocations: 0 / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.3269, allocations: 49.55 kB / 0.9536 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.327, allocations: 85.05 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3271, allocations: 168 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.3271, allocations: 29.7 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.3272, allocations: 104 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.769e-06/0.3272, allocations: 7.906 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3273, allocations: 17.66 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3274, allocations: 318.8 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.3274, allocations: 8 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.3274, allocations: 21.7 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.3275, allocations: 29.72 kB / 0.9543 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3275, allocations: 3.938 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.225e-05/0.3276, allocations: 49.61 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3276, allocations: 10.03 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3276, allocations: 3.938 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3276, allocations: 3.984 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.3277, allocations: 7.938 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3277, allocations: 8 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.3278, allocations: 11.84 kB / 0.9544 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.3278, allocations: 0 / 0.9544 GB, free: 4.383 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.088e-05/0.3279, allocations: 115.8 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.3279, allocations: 7.906 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.3279, allocations: 23.8 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3279, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.328, allocations: 0 / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.328, allocations: 4 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.3283, allocations: 470.8 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3284, allocations: 4 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.3284, allocations: 0 / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3284, allocations: 4 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.3284, allocations: 0 / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3284, allocations: 0 / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3284, allocations: 0 / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.121e-05/0.3285, allocations: 85.83 kB / 0.9551 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.3286, allocations: 89.02 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.3286, allocations: 3.984 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.3286, allocations: 4 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.3286, allocations: 0 / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.3286, allocations: 0 / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.054e-05/0.3287, allocations: 126.3 kB / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3287, allocations: 0 / 0.9553 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001882/0.3289, allocations: 8 kB / 0.9553 GB, free: 3.348 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001262/0.3291, allocations: 99.19 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.74e-05/0.3291, allocations: 19.94 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3292, allocations: 0 / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.3292, allocations: 8 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.3293, allocations: 20.17 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.3296, allocations: 162.6 kB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3299, allocations: 0.6922 MB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.33, allocations: 8.422 kB / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.33, allocations: 15.44 kB / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.33, allocations: 0 / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of Templates: time 0.002517/0.3325, allocations: 464.5 kB / 0.9568 GB, free: 1.809 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches