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.001121/0.001121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001458/0.001458, allocations: 195.7 kB / 16.14 MB, free: 6.648 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.522/1.522, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.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.518/2.518, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.09 kB / 0.8119 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8196, allocations: 140.4 MB / 0.9489 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002104/0.8218, allocations: 0.8844 MB / 0.9498 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001013/0.8219, allocations: 44.61 kB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.822, allocations: 2.531 kB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.193e-05/0.822, allocations: 3.938 kB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.074e-05/0.8221, allocations: 7.922 kB / 0.9498 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.343e-05/0.8222, allocations: 15.91 kB / 0.9499 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.017e-05/0.8223, allocations: 54.7 kB / 0.9499 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.8224, allocations: 46.91 kB / 0.95 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.679e-05/0.8225, allocations: 24.2 kB / 0.95 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.8226, allocations: 28.3 kB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.8226, allocations: 3.969 kB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.8226, allocations: 3.656 kB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.8226, allocations: 14.33 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.8227, allocations: 30.84 kB / 0.9501 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.9e-05/0.8228, allocations: 74.03 kB / 0.9501 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.8228, allocations: 0 / 0.9501 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8228, allocations: 0 / 0.9501 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.8228, allocations: 0 / 0.9501 GB, free: 8.34 MB / 0.7169 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.000389/0.8232, allocations: 379.2 kB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.8233, allocations: 8.594 kB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.8233, allocations: 9.844 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.8235, allocations: 194 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.8235, allocations: 8.562 kB / 0.9507 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.8235, allocations: 8.594 kB / 0.9507 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.8237, allocations: 93.45 kB / 0.9508 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8237, allocations: 192 / 0.9508 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.8237, allocations: 9.172 kB / 0.9508 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.8237, allocations: 2.5 kB / 0.9508 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.64e-05/0.8238, allocations: 35.73 kB / 0.9508 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.8242, allocations: 445.4 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.533e-05/0.8243, allocations: 36.88 kB / 0.9513 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.8243, allocations: 15.28 kB / 0.9513 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.8243, allocations: 4 kB / 0.9513 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.8244, allocations: 40 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8244, allocations: 0 / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001609/0.8245, allocations: 60.09 kB / 0.9514 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.8246, allocations: 77.11 kB / 0.9515 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.8247, allocations: 167.8 kB / 0.9516 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.8247, allocations: 35.02 kB / 0.9517 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.8248, allocations: 108 kB / 0.9518 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.8248, allocations: 5.281 kB / 0.9518 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.8248, allocations: 16.47 kB / 0.9518 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.8248, allocations: 321.6 kB / 0.9521 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.8249, allocations: 2.75 kB / 0.9521 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.8249, allocations: 19.22 kB / 0.9521 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.8249, allocations: 29.91 kB / 0.9522 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8249, allocations: 1.375 kB / 0.9522 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.005e-05/0.825, allocations: 58.09 kB / 0.9522 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.825, allocations: 6.906 kB / 0.9522 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.825, allocations: 5.312 kB / 0.9522 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.8251, allocations: 0 / 0.9522 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.8251, allocations: 9.438 kB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.8251, allocations: 1.438 kB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.8252, allocations: 5.375 kB / 0.9522 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.8252, allocations: 2.75 kB / 0.9522 GB, free: 6.172 MB / 0.7169 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 5.592e-05/0.8252, allocations: 116.6 kB / 0.9524 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.8253, allocations: 8.031 kB / 0.9524 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.8253, allocations: 14.56 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8253, allocations: 1.375 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.8253, allocations: 0 / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.8253, allocations: 1.375 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.8256, allocations: 474 kB / 0.9528 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8256, allocations: 0 / 0.9528 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.8256, allocations: 7.984 kB / 0.9528 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.8256, allocations: 0 / 0.9528 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.8256, allocations: 5.094 kB / 0.9528 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8257, allocations: 1.219 kB / 0.9529 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8257, allocations: 0 / 0.9529 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.28e-05/0.8257, allocations: 86.59 kB / 0.9529 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.8258, allocations: 92.66 kB / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.8258, allocations: 1.312 kB / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.8258, allocations: 0 / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.8258, allocations: 1.188 kB / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.8258, allocations: 5.25 kB / 0.953 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.02e-05/0.8259, allocations: 128.7 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8259, allocations: 0 / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001837/0.8261, allocations: 7.375 kB / 0.9532 GB, free: 5.219 MB / 0.7169 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 9.596e-05/0.8262, allocations: 100.8 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.637e-05/0.8263, allocations: 17.91 kB / 0.9533 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8263, allocations: 3.938 kB / 0.9533 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-06/0.8263, allocations: 4.781 kB / 0.9533 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.8265, allocations: 15.19 kB / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.8268, allocations: 178.7 kB / 0.9535 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.8269, allocations: 0.6945 MB / 0.9541 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.8269, allocations: 9.109 kB / 0.9542 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.827, allocations: 10.34 kB / 0.9542 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.827, allocations: 1.594 kB / 0.9542 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of Templates: time 0.002339/0.8293, allocations: 433.6 kB / 0.9546 GB, free: 3.992 MB / 0.7169 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/jenkins/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