Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) 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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.001348/0.001348, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.51/1.51, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.59 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4682, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002483/0.4706, allocations: 0.8204 MB / 1.263 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.4708, allocations: 48.06 kB / 1.263 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.4709, allocations: 4 kB / 1.263 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.821e-05/0.4709, allocations: 11.86 kB / 1.263 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.471, allocations: 7.938 kB / 1.263 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.535e-05/0.471, allocations: 15.98 kB / 1.263 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.4712, allocations: 67.78 kB / 1.263 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.4713, allocations: 31.88 kB / 1.263 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.4714, allocations: 23.92 kB / 1.263 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/0.4715, allocations: 31.78 kB / 1.263 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.4715, allocations: 12 kB / 1.263 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.4715, allocations: 4 kB / 1.263 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.4715, allocations: 15.94 kB / 1.263 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.4716, allocations: 35.78 kB / 1.263 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.4717, allocations: 75.53 kB / 1.263 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4717, allocations: 0 / 1.263 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4717, allocations: 0 / 1.263 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4717, allocations: 0 / 1.263 GB, free: 11.71 MB / 0.9825 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.0005518/0.4723, allocations: 379.1 kB / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4723, allocations: 12.03 kB / 1.264 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.4724, allocations: 12.84 kB / 1.264 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.4726, allocations: 204.1 kB / 1.264 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4727, allocations: 12.38 kB / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.4727, allocations: 8.375 kB / 1.264 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4729, allocations: 93.5 kB / 1.264 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4729, allocations: 8.125 kB / 1.264 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4729, allocations: 7.938 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.4729, allocations: 0 / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.473, allocations: 39.92 kB / 1.264 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.4736, allocations: 432.7 kB / 1.264 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.221e-05/0.4737, allocations: 37.28 kB / 1.264 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.4737, allocations: 21.84 kB / 1.264 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.4737, allocations: 7.984 kB / 1.264 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.4737, allocations: 30.56 kB / 1.264 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4737, allocations: 0 / 1.264 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001877/0.4739, allocations: 53.53 kB / 1.265 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.474, allocations: 85.36 kB / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.4742, allocations: 157.3 kB / 1.265 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4742, allocations: 29.7 kB / 1.265 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.4743, allocations: 104.1 kB / 1.265 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.4743, allocations: 7.891 kB / 1.265 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.4743, allocations: 21.67 kB / 1.265 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4745, allocations: 318.8 kB / 1.265 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.4745, allocations: 7.938 kB / 1.265 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.4745, allocations: 25.7 kB / 1.265 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.293e-05/0.4746, allocations: 25.72 kB / 1.265 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4746, allocations: 0 / 1.265 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.048e-05/0.4747, allocations: 57.59 kB / 1.265 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4747, allocations: 4 kB / 1.265 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4747, allocations: 7.984 kB / 1.265 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4747, allocations: 3.938 kB / 1.265 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.4748, allocations: 8.062 kB / 1.265 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4748, allocations: 0 / 1.265 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.4748, allocations: 4 kB / 1.265 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.4748, allocations: 0 / 1.265 GB, free: 9.266 MB / 0.9825 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.7e-05/0.4749, allocations: 114.6 kB / 1.265 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.475, allocations: 11.89 kB / 1.265 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.475, allocations: 19.8 kB / 1.266 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.475, allocations: 0 / 1.266 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.475, allocations: 0 / 1.266 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.4751, allocations: 96.95 kB / 1.266 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.4751, allocations: 0 / 1.266 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.4752, allocations: 7.984 kB / 1.266 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.4752, allocations: 0 / 1.266 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001352/0.4753, allocations: 192.2 kB / 1.266 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001818/0.4755, allocations: 306 kB / 1.266 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.924e-05/0.4755, allocations: 4 kB / 1.266 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001053/0.4756, allocations: 121.5 kB / 1.266 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of Backend: time 4.51e-07/0.4756, allocations: 0 / 1.266 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.4761, allocations: 94.33 kB / 1.266 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005896/0.4767, allocations: 0.6121 MB / 1.267 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.003329/0.48, allocations: 0.5459 MB / 1.267 GB, free: 7.047 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches