Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001898/0.001898, allocations: 104 kB / 16.41 MB, free: 6.508 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.002003/0.002003, allocations: 192.3 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 64.31 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9671/0.9687, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002248/0.9709, allocations: 0.8337 MB / 1.168 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001426/0.9711, allocations: 43.78 kB / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.9712, allocations: 4 kB / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.291e-05/0.9712, allocations: 7.875 kB / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.26e-05/0.9713, allocations: 11.86 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.968e-05/0.9714, allocations: 23.98 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.9715, allocations: 55.84 kB / 1.168 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.9717, allocations: 43.97 kB / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.9718, allocations: 35.8 kB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.9718, allocations: 23.86 kB / 1.168 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.9719, allocations: 4 kB / 1.168 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.9719, allocations: 8 kB / 1.168 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.9719, allocations: 15.92 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.972, allocations: 31.81 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.9721, allocations: 79.62 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.9721, allocations: 0 / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9721, allocations: 0 / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.9721, allocations: 0 / 1.168 GB, free: 2.656 MB / 0.8887 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.0004948/0.9726, allocations: 384.8 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9727, allocations: 12.86 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.9728, allocations: 16.83 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.973, allocations: 188.2 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.973, allocations: 384 / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.973, allocations: 12.38 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.9732, allocations: 90.33 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9732, allocations: 4.188 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.9732, allocations: 7.938 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.9732, allocations: 4 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.771e-05/0.9733, allocations: 43.91 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.9739, allocations: 432.6 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.339e-05/0.974, allocations: 49.3 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.9741, allocations: 17.72 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.9741, allocations: 0 / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.9741, allocations: 38.56 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.9741, allocations: 3.938 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/0.9743, allocations: 61.69 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.9743, allocations: 77.11 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.9745, allocations: 156.5 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.9745, allocations: 29.7 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.9746, allocations: 104 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.9746, allocations: 7.906 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.9746, allocations: 17.72 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9748, allocations: 318.8 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.9748, allocations: 8.031 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.9748, allocations: 17.72 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.9749, allocations: 29.64 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9749, allocations: 0 / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.009e-05/0.9749, allocations: 57.61 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.975, allocations: 7.938 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.975, allocations: 4.062 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.975, allocations: 7.938 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.9751, allocations: 11.92 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9751, allocations: 0 / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.9751, allocations: 7.906 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.9751, allocations: 0 / 1.171 GB, free: 224 kB / 0.8887 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.894e-05/0.9752, allocations: 113.8 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.9753, allocations: 7.906 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.9753, allocations: 19.81 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9753, allocations: 4 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.9753, allocations: 3.984 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.9754, allocations: 85.02 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.9754, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.9755, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.9755, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001095/0.9756, allocations: 196.2 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001381/0.9758, allocations: 306 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.109e-05/0.9758, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001023/0.9759, allocations: 121.7 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of Backend: time 4.51e-07/0.9759, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.9763, allocations: 96.88 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005005/0.9769, allocations: 0.6004 MB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of Templates: time 0.002842/0.9797, allocations: 0.5278 MB / 1.173 GB, free: 14.03 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches