Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 109.1 kB / 16.41 MB, free: 6.465 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.001829/0.00183, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.369/2.369, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 67.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9282/0.9298, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002588/0.9324, allocations: 0.8277 MB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.9326, allocations: 41.14 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.456e-05/0.9326, allocations: 1.094 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.9327, allocations: 9.75 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.965e-05/0.9328, allocations: 10.58 kB / 1.09 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.792e-05/0.9329, allocations: 20.16 kB / 1.09 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.933, allocations: 58.86 kB / 1.09 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.9332, allocations: 47.22 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.9332, allocations: 29.88 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.9333, allocations: 30.14 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.9333, allocations: 6.438 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.9334, allocations: 5.438 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.9334, allocations: 16.83 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.9334, allocations: 32.89 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.9336, allocations: 74.88 kB / 1.09 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9336, allocations: 5.844 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.043e-06/0.9336, allocations: 0 / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.9336, allocations: 0 / 1.09 GB, free: 4.773 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.0004167/0.934, allocations: 373.8 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.9341, allocations: 8.812 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.9341, allocations: 13.91 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.9343, allocations: 196.3 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.9343, allocations: 8.078 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.9344, allocations: 5.562 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.9345, allocations: 94.36 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9345, allocations: 192 / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.9345, allocations: 4.938 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.9346, allocations: 2.125 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.788e-05/0.9346, allocations: 35.66 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.9351, allocations: 446.4 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.46e-05/0.9352, allocations: 46.31 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.9352, allocations: 23.69 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.9353, allocations: 5.188 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.9353, allocations: 32.28 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9353, allocations: 0 / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001739/0.9355, allocations: 56.92 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.9355, allocations: 78.27 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.9356, allocations: 162.2 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.9357, allocations: 30.58 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.9357, allocations: 104 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.9357, allocations: 5.703 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.9358, allocations: 17.61 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.102e-05/0.9358, allocations: 320.2 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.9358, allocations: 7.516 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.9359, allocations: 16.47 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.9359, allocations: 38.64 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.9359, allocations: 1.062 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.692e-05/0.936, allocations: 52.7 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.936, allocations: 6.484 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9361, allocations: 1.156 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.9361, allocations: 7.875 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.9361, allocations: 7.281 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.9362, allocations: 4.578 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.9362, allocations: 6.375 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.9362, allocations: 1.812 kB / 1.092 GB, free: 2.703 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.161e-05/0.9363, allocations: 113.8 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.9363, allocations: 8.719 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.9364, allocations: 15.77 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9364, allocations: 1.641 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9364, allocations: 96 / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.9364, allocations: 91.52 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.9364, allocations: 5.125 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/0.9365, allocations: 6.109 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.9365, allocations: 0.7031 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.521e-05/0.9366, allocations: 198.7 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.706e-05/0.9367, allocations: 302.6 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.995e-05/0.9368, allocations: 7.141 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.844e-05/0.9368, allocations: 118.2 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of Backend: time 3.31e-07/0.9368, allocations: 0 / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.9373, allocations: 92.38 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003546/0.9376, allocations: 0.614 MB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of Templates: time 0.002772/0.9404, allocations: 0.5199 MB / 1.094 GB, free: 1.109 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches