Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001154/0.001154, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9628/0.9643, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00202/0.9664, allocations: 0.8241 MB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.9665, allocations: 44.61 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.9666, allocations: 1.5 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.561e-05/0.9666, allocations: 9.328 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.918e-05/0.9667, allocations: 7.25 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.056e-05/0.9668, allocations: 20.28 kB / 1.09 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.9669, allocations: 62.75 kB / 1.09 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.9671, allocations: 37.7 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.166e-05/0.9672, allocations: 26.19 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.9672, allocations: 34.69 kB / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.9673, allocations: 5.562 kB / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.9673, allocations: 6.656 kB / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.9673, allocations: 20.67 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.9674, allocations: 36.83 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.9675, allocations: 73.08 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.9675, allocations: 0.6094 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9675, allocations: 1.156 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.9675, allocations: 0 / 1.09 GB, free: 4.75 MB / 0.8575 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.0003985/0.9679, allocations: 377.6 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.968, allocations: 9.156 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.968, allocations: 13.34 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.9682, allocations: 200.8 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.9682, allocations: 3.375 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.9683, allocations: 10.06 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.9684, allocations: 90.62 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.9684, allocations: 192 / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.9685, allocations: 5.641 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.9685, allocations: 2.344 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.344e-05/0.9686, allocations: 39.2 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.9691, allocations: 433.5 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/0.9691, allocations: 46.23 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.9692, allocations: 21.47 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.9692, allocations: 4 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.9692, allocations: 36.16 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.9692, allocations: 1.031 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001754/0.9694, allocations: 56.78 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.9694, allocations: 77.72 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.9696, allocations: 159.7 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.9696, allocations: 29.7 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.9696, allocations: 104.3 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/0.9696, allocations: 5.734 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.9697, allocations: 17.77 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.361e-05/0.9698, allocations: 319.5 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.9698, allocations: 8.672 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.9698, allocations: 19.94 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.9699, allocations: 27.17 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9699, allocations: 0 / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.341e-05/0.9699, allocations: 61.88 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.97, allocations: 5.516 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.97, allocations: 1.281 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.97, allocations: 7.922 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.9701, allocations: 11.59 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9701, allocations: 4.672 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.9701, allocations: 9.938 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.9701, allocations: 1.375 kB / 1.092 GB, free: 2.676 MB / 0.8575 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 6.744e-05/0.9702, allocations: 114.5 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.9703, allocations: 9.109 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.9703, allocations: 15.89 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9703, allocations: 0.5625 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9703, allocations: 1.344 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.9704, allocations: 86.05 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.9704, allocations: 9.812 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.9705, allocations: 0.9688 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.9705, allocations: 1.578 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.112e-05/0.9706, allocations: 195.1 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001062/0.9707, allocations: 306.4 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.086e-05/0.9708, allocations: 7.125 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.541e-05/0.9709, allocations: 125 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of Backend: time 2e-07/0.9709, allocations: 0 / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.9713, allocations: 97.22 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000442/0.9718, allocations: 0.6091 MB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.003276/0.975, allocations: 0.5196 MB / 1.094 GB, free: 1.078 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches