Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001428/0.001428, allocations: 110 kB / 18.93 MB, free: 2.945 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.001644/0.001644, allocations: 192.7 kB / 22.23 MB, free: 5.16 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.494/1.494, 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-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.327/3.327, allocations: 0.4893 GB / 0.7884 GB, free: 33.17 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.98 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4129, allocations: 174.9 MB / 1.316 GB, free: 9.691 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00215/0.415, allocations: 0.8451 MB / 1.317 GB, free: 8.848 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0001048/0.4151, allocations: 39.78 kB / 1.317 GB, free: 8.809 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.4152, allocations: 4 kB / 1.317 GB, free: 8.805 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.4152, allocations: 7.875 kB / 1.317 GB, free: 8.797 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.653e-05/0.4153, allocations: 7.938 kB / 1.317 GB, free: 8.789 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 4.602e-05/0.4153, allocations: 19.97 kB / 1.317 GB, free: 8.77 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001086/0.4155, allocations: 63.78 kB / 1.317 GB, free: 8.707 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.4156, allocations: 31.98 kB / 1.317 GB, free: 8.676 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.4157, allocations: 35.86 kB / 1.317 GB, free: 8.641 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.4157, allocations: 23.86 kB / 1.317 GB, free: 8.617 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.4157, allocations: 4 kB / 1.317 GB, free: 8.613 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.4157, allocations: 8 kB / 1.317 GB, free: 8.605 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.4158, allocations: 15.92 kB / 1.317 GB, free: 8.59 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.4158, allocations: 39.67 kB / 1.317 GB, free: 8.551 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.4159, allocations: 79.58 kB / 1.317 GB, free: 8.473 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4159, allocations: 0 / 1.317 GB, free: 8.473 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.994e-06/0.4159, allocations: 0 / 1.317 GB, free: 8.473 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.22e-06/0.4159, allocations: 0 / 1.317 GB, free: 8.473 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.0004373/0.4164, allocations: 308.1 kB / 1.318 GB, free: 8.141 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4164, allocations: 8.031 kB / 1.318 GB, free: 8.133 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.4165, allocations: 8.891 kB / 1.318 GB, free: 8.125 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.4167, allocations: 138.3 kB / 1.318 GB, free: 7.965 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4167, allocations: 8.375 kB / 1.318 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.4167, allocations: 4.375 kB / 1.318 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4169, allocations: 91.94 kB / 1.318 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4169, allocations: 192 / 1.318 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4169, allocations: 15.94 kB / 1.318 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4169, allocations: 0 / 1.318 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.517e-05/0.417, allocations: 39.86 kB / 1.318 GB, free: 7.797 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.4175, allocations: 403.7 kB / 1.318 GB, free: 7.355 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.4176, allocations: 41.34 kB / 1.318 GB, free: 7.297 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.4176, allocations: 17.78 kB / 1.318 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.4176, allocations: 0 / 1.318 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.4176, allocations: 34.56 kB / 1.318 GB, free: 7.23 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.4176, allocations: 0 / 1.318 GB, free: 7.23 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0001587/0.4178, allocations: 57.73 kB / 1.318 GB, free: 7.168 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.4178, allocations: 81.14 kB / 1.318 GB, free: 7.07 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.418, allocations: 160.9 kB / 1.319 GB, free: 6.906 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.418, allocations: 29.64 kB / 1.319 GB, free: 6.871 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.4181, allocations: 104 kB / 1.319 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.4181, allocations: 15.94 kB / 1.319 GB, free: 6.75 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.4181, allocations: 9.719 kB / 1.319 GB, free: 6.734 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001458/0.4183, allocations: 326.8 kB / 1.319 GB, free: 6.406 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.4183, allocations: 12 kB / 1.319 GB, free: 6.395 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.4183, allocations: 13.72 kB / 1.319 GB, free: 6.375 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.4184, allocations: 25.72 kB / 1.319 GB, free: 6.344 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4184, allocations: 0 / 1.319 GB, free: 6.344 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.91e-05/0.4185, allocations: 61.58 kB / 1.319 GB, free: 6.277 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4185, allocations: 6.344 kB / 1.319 GB, free: 6.273 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4185, allocations: 8 kB / 1.319 GB, free: 6.266 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4185, allocations: 0 / 1.319 GB, free: 6.266 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.4186, allocations: 12 kB / 1.319 GB, free: 6.254 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.4186, allocations: 0 / 1.319 GB, free: 6.254 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.4186, allocations: 8 kB / 1.319 GB, free: 6.246 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.4186, allocations: 0 / 1.319 GB, free: 6.246 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.698e-05/0.4187, allocations: 123.2 kB / 1.319 GB, free: 6.117 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.4187, allocations: 11.91 kB / 1.319 GB, free: 6.105 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.4188, allocations: 11.75 kB / 1.319 GB, free: 6.09 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4188, allocations: 4 kB / 1.319 GB, free: 6.086 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4188, allocations: 0 / 1.319 GB, free: 6.086 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4188, allocations: 96 / 1.319 GB, free: 6.086 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.4192, allocations: 445.8 kB / 1.32 GB, free: 5.594 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4192, allocations: 3.984 kB / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.4193, allocations: 4 kB / 1.32 GB, free: 5.586 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4193, allocations: 3.984 kB / 1.32 GB, free: 5.582 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.4193, allocations: 4 kB / 1.32 GB, free: 5.578 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4193, allocations: 4.062 kB / 1.32 GB, free: 5.574 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4193, allocations: 0 / 1.32 GB, free: 5.574 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.188e-05/0.4194, allocations: 73.89 kB / 1.32 GB, free: 5.48 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.4194, allocations: 23.86 kB / 1.32 GB, free: 5.457 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.4194, allocations: 0 / 1.32 GB, free: 5.457 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.4194, allocations: 0 / 1.32 GB, free: 5.457 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.4194, allocations: 11.97 kB / 1.32 GB, free: 5.445 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.4194, allocations: 0 / 1.32 GB, free: 5.445 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.000104/0.4195, allocations: 121.3 kB / 1.32 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4195, allocations: 0 / 1.32 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001904/0.4197, allocations: 12 kB / 1.32 GB, free: 5.316 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.0001185/0.4198, allocations: 91.25 kB / 1.32 GB, free: 5.219 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 8.522e-05/0.4199, allocations: 23.92 kB / 1.32 GB, free: 5.195 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4199, allocations: 4.125 kB / 1.32 GB, free: 5.191 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.4199, allocations: 7.938 kB / 1.32 GB, free: 5.184 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.4201, allocations: 15.84 kB / 1.32 GB, free: 5.168 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.4204, allocations: 158.6 kB / 1.32 GB, free: 4.977 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.4208, allocations: 0.6963 MB / 1.321 GB, free: 4.254 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.043e-05/0.4208, allocations: 8.562 kB / 1.321 GB, free: 4.246 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.4209, allocations: 11.44 kB / 1.321 GB, free: 4.234 MB / 1.014 GB
Notification: Performance of SimCode: time 2.9e-07/0.4209, allocations: 0 / 1.321 GB, free: 4.234 MB / 1.014 GB
Notification: Performance of Templates: time 0.002942/0.4238, allocations: 487.2 kB / 1.321 GB, free: 3.762 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.153423573821783]