Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002769/0.002769, allocations: 191.9 kB / 22.23 MB, free: 5.102 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.356/3.356, allocations: 496 MB / 0.7835 GB, free: 33.56 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 65.17 kB / 1.138 GB, free: 33.7 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4205, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002355/0.4229, allocations: 0.8445 MB / 1.308 GB, free: 0.9922 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0001278/0.423, allocations: 39.78 kB / 1.308 GB, free: 0.9531 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.4231, allocations: 3.938 kB / 1.308 GB, free: 0.9492 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.4231, allocations: 7.875 kB / 1.308 GB, free: 0.9414 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 9.62e-05/0.4232, allocations: 11.88 kB / 1.308 GB, free: 0.9297 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 5.151e-05/0.4232, allocations: 19.98 kB / 1.308 GB, free: 0.9102 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001284/0.4234, allocations: 55.89 kB / 1.308 GB, free: 0.8555 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.4236, allocations: 43.97 kB / 1.308 GB, free: 0.8125 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.483e-05/0.4236, allocations: 27.8 kB / 1.308 GB, free: 0.7852 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.4237, allocations: 31.8 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.4237, allocations: 8 kB / 1.308 GB, free: 0.7461 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.4237, allocations: 4 kB / 1.308 GB, free: 0.7422 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.4237, allocations: 15.92 kB / 1.308 GB, free: 0.7266 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.4238, allocations: 31.81 kB / 1.308 GB, free: 0.6953 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.000148/0.4239, allocations: 79.52 kB / 1.308 GB, free: 0.6172 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.424, allocations: 3.984 kB / 1.308 GB, free: 0.6133 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.084e-06/0.424, allocations: 0 / 1.308 GB, free: 0.6133 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 6.622e-06/0.424, allocations: 0 / 1.308 GB, free: 0.6133 MB / 0.9981 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.0005429/0.4245, allocations: 302 kB / 1.309 GB, free: 292 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.4246, allocations: 12.92 kB / 1.309 GB, free: 280 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.4246, allocations: 12.84 kB / 1.309 GB, free: 268 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.4249, allocations: 134.4 kB / 1.309 GB, free: 108 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4249, allocations: 4.375 kB / 1.309 GB, free: 104 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.4249, allocations: 12.31 kB / 1.309 GB, free: 92 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.4251, allocations: 99.88 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4251, allocations: 192 / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.4251, allocations: 3.938 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4251, allocations: 4 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.941e-05/0.4252, allocations: 39.92 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006525/0.4259, allocations: 395.8 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.426, allocations: 49.17 kB / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.426, allocations: 21.84 kB / 1.31 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.426, allocations: 0 / 1.31 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.4261, allocations: 30.56 kB / 1.31 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 3.266e-06/0.4261, allocations: 3.984 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0002141/0.4263, allocations: 57.53 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.4264, allocations: 85.09 kB / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.4265, allocations: 158.3 kB / 1.31 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.4266, allocations: 29.64 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.4267, allocations: 108 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.4267, allocations: 4 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.4267, allocations: 21.66 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001769/0.4269, allocations: 323.1 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.4269, allocations: 7.984 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.4269, allocations: 17.72 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.427, allocations: 29.66 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.427, allocations: 0 / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.362e-05/0.4271, allocations: 57.58 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4271, allocations: 13.16 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4271, allocations: 3.938 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4271, allocations: 0 / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.4272, allocations: 4 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4272, allocations: 4 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/0.4272, allocations: 4 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.4272, allocations: 4 kB / 1.31 GB, free: 14.38 MB / 1.014 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 0.000107/0.4273, allocations: 114.6 kB / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.4274, allocations: 11.91 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.4274, allocations: 19.73 kB / 1.311 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4274, allocations: 3.938 kB / 1.311 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4275, allocations: 4 kB / 1.311 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4275, allocations: 0 / 1.311 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.4279, allocations: 445.8 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4279, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.428, allocations: 4 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.428, allocations: 4.062 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.428, allocations: 0 / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.428, allocations: 4 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.428, allocations: 7.922 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.908e-05/0.4281, allocations: 77.89 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.4281, allocations: 11.94 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.4281, allocations: 4 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.4281, allocations: 4.031 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.4282, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.4282, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001075/0.4283, allocations: 119.2 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.4283, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001921/0.4285, allocations: 12 kB / 1.311 GB, free: 13.46 MB / 1.014 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.0001241/0.4286, allocations: 95.25 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000107/0.4287, allocations: 23.92 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4287, allocations: 4 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.969e-06/0.4287, allocations: 7.938 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.4289, allocations: 7.938 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.4293, allocations: 158.6 kB / 1.312 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.4297, allocations: 0.7004 MB / 1.312 GB, free: 12.4 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.153e-05/0.4297, allocations: 4.438 kB / 1.312 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.4297, allocations: 11.44 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of SimCode: time 3.5e-07/0.4297, allocations: 0 / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of Templates: time 0.003113/0.4328, allocations: 480.5 kB / 1.313 GB, free: 11.91 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.721896044909954]