Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.002332/0.002332, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002575/0.002575, allocations: 190.8 kB / 22.23 MB, free: 5.133 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.447/1.447, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.186/3.186, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 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-master/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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.3 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4311, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002458/0.4335, allocations: 0.8322 MB / 1.317 GB, free: 8.887 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.000171/0.4337, allocations: 43.78 kB / 1.317 GB, free: 8.844 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.4338, allocations: 0 / 1.317 GB, free: 8.844 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 5.165e-05/0.4338, allocations: 7.875 kB / 1.317 GB, free: 8.836 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.946e-05/0.4339, allocations: 11.88 kB / 1.317 GB, free: 8.824 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 5.844e-05/0.434, allocations: 19.97 kB / 1.317 GB, free: 8.805 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001274/0.4341, allocations: 59.84 kB / 1.317 GB, free: 8.746 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.4342, allocations: 31.98 kB / 1.317 GB, free: 8.715 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.4343, allocations: 35.78 kB / 1.317 GB, free: 8.68 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.4344, allocations: 23.86 kB / 1.317 GB, free: 8.656 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.4344, allocations: 12 kB / 1.317 GB, free: 8.645 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.4344, allocations: 4 kB / 1.317 GB, free: 8.641 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.4344, allocations: 19.92 kB / 1.317 GB, free: 8.621 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.4345, allocations: 27.81 kB / 1.317 GB, free: 8.594 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.4346, allocations: 79.56 kB / 1.317 GB, free: 8.516 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4346, allocations: 0 / 1.317 GB, free: 8.516 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.773e-06/0.4346, allocations: 3.938 kB / 1.317 GB, free: 8.512 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.284e-05/0.4347, allocations: 3.938 kB / 1.317 GB, free: 8.508 MB / 1.014 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.0005137/0.4352, allocations: 306 kB / 1.318 GB, free: 8.176 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4352, allocations: 12.03 kB / 1.318 GB, free: 8.164 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.4353, allocations: 16.89 kB / 1.318 GB, free: 8.148 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.4355, allocations: 126.4 kB / 1.318 GB, free: 8 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.4355, allocations: 8.359 kB / 1.318 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.4355, allocations: 8.375 kB / 1.318 GB, free: 7.984 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.4357, allocations: 95.89 kB / 1.318 GB, free: 7.879 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4357, allocations: 192 / 1.318 GB, free: 7.879 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.4358, allocations: 7.875 kB / 1.318 GB, free: 7.871 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.4358, allocations: 7.984 kB / 1.318 GB, free: 7.863 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.627e-05/0.4358, allocations: 35.98 kB / 1.318 GB, free: 7.828 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007514/0.4366, allocations: 403.8 kB / 1.318 GB, free: 7.387 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.4367, allocations: 37.22 kB / 1.318 GB, free: 7.332 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.4367, allocations: 25.81 kB / 1.318 GB, free: 7.301 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.4367, allocations: 0 / 1.318 GB, free: 7.301 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.4368, allocations: 34.56 kB / 1.318 GB, free: 7.258 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4368, allocations: 0 / 1.318 GB, free: 7.258 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0002245/0.437, allocations: 57.52 kB / 1.318 GB, free: 7.195 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.4371, allocations: 77.36 kB / 1.318 GB, free: 7.102 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.4373, allocations: 162.2 kB / 1.319 GB, free: 6.934 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4373, allocations: 25.7 kB / 1.319 GB, free: 6.902 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.4374, allocations: 108 kB / 1.319 GB, free: 6.793 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.4374, allocations: 11.94 kB / 1.319 GB, free: 6.781 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.4374, allocations: 17.72 kB / 1.319 GB, free: 6.758 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000182/0.4376, allocations: 318.8 kB / 1.319 GB, free: 6.438 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.4376, allocations: 4 kB / 1.319 GB, free: 6.434 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.4377, allocations: 21.72 kB / 1.319 GB, free: 6.406 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.4377, allocations: 29.66 kB / 1.319 GB, free: 6.371 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4377, allocations: 4 kB / 1.319 GB, free: 6.367 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.468e-05/0.4378, allocations: 53.64 kB / 1.319 GB, free: 6.309 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4378, allocations: 7.938 kB / 1.319 GB, free: 6.301 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.4378, allocations: 3.938 kB / 1.319 GB, free: 6.297 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4379, allocations: 8 kB / 1.319 GB, free: 6.289 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.4379, allocations: 8 kB / 1.319 GB, free: 6.281 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.4379, allocations: 0 / 1.319 GB, free: 6.281 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.438, allocations: 4 kB / 1.319 GB, free: 6.277 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.438, allocations: 0 / 1.319 GB, free: 6.277 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 9.785e-05/0.4381, allocations: 118.4 kB / 1.319 GB, free: 6.152 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.4381, allocations: 11.91 kB / 1.319 GB, free: 6.141 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.4381, allocations: 15.75 kB / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4381, allocations: 0 / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4381, allocations: 0 / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.4381, allocations: 4 kB / 1.319 GB, free: 6.117 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.4386, allocations: 445.8 kB / 1.32 GB, free: 5.625 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4386, allocations: 0 / 1.32 GB, free: 5.625 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.4386, allocations: 7.984 kB / 1.32 GB, free: 5.617 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4386, allocations: 0 / 1.32 GB, free: 5.617 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.4386, allocations: 4 kB / 1.32 GB, free: 5.613 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4386, allocations: 3.938 kB / 1.32 GB, free: 5.609 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4386, allocations: 8.062 kB / 1.32 GB, free: 5.602 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.4387, allocations: 77.83 kB / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.4388, allocations: 15.94 kB / 1.32 GB, free: 5.488 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.4388, allocations: 0 / 1.32 GB, free: 5.488 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.4388, allocations: 4 kB / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.4388, allocations: 0 / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.4388, allocations: 4.031 kB / 1.32 GB, free: 5.48 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001005/0.4389, allocations: 122.9 kB / 1.32 GB, free: 5.363 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4389, allocations: 0 / 1.32 GB, free: 5.363 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001999/0.4391, allocations: 8 kB / 1.32 GB, free: 5.355 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.4392, allocations: 91.25 kB / 1.32 GB, free: 5.258 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001064/0.4393, allocations: 23.92 kB / 1.32 GB, free: 5.234 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4394, allocations: 0 / 1.32 GB, free: 5.234 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.4394, allocations: 12.12 kB / 1.32 GB, free: 5.223 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.4395, allocations: 15.84 kB / 1.32 GB, free: 5.207 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.4399, allocations: 158.6 kB / 1.32 GB, free: 5.016 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.4404, allocations: 0.7002 MB / 1.321 GB, free: 4.289 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.708e-05/0.4404, allocations: 12.5 kB / 1.321 GB, free: 4.277 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.4404, allocations: 11.44 kB / 1.321 GB, free: 4.266 MB / 1.014 GB
Notification: Performance of SimCode: time 3.91e-07/0.4404, allocations: 0 / 1.321 GB, free: 4.266 MB / 1.014 GB
Notification: Performance of Templates: time 0.003152/0.4436, allocations: 484.5 kB / 1.321 GB, free: 3.793 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.103714371100068]