Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001296/0.001296, allocations: 103.7 kB / 16.27 MB, free: 6.359 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.001314/0.001314, allocations: 192.7 kB / 17.2 MB, free: 5.953 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.61/2.61, allocations: 469.4 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 64.28 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3489, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002483/0.3514, allocations: 0.8118 MB / 1.065 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001467/0.3516, allocations: 39.8 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.3517, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.96e-05/0.3518, allocations: 7.875 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.55e-05/0.3519, allocations: 11.88 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.582e-05/0.3519, allocations: 23.97 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.352, allocations: 59.84 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.3522, allocations: 47.95 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.155e-05/0.3523, allocations: 19.88 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.3524, allocations: 31.78 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3524, allocations: 11.94 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.3524, allocations: 8 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.3524, allocations: 8 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.3525, allocations: 39.73 kB / 1.065 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.3526, allocations: 68.05 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3526, allocations: 0 / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3526, allocations: 0 / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3526, allocations: 4 kB / 1.065 GB, free: 13.85 MB / 0.8419 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.0004363/0.3531, allocations: 379.2 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3531, allocations: 8.625 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.3532, allocations: 16.75 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.3534, allocations: 192.1 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3534, allocations: 8.375 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3534, allocations: 12.3 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3536, allocations: 102.1 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3536, allocations: 192 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3536, allocations: 3.938 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3536, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.833e-05/0.3537, allocations: 39.92 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.3542, allocations: 436.5 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.3543, allocations: 41.28 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.3543, allocations: 21.83 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.3544, allocations: 4 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3544, allocations: 38.56 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.3544, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001684/0.3546, allocations: 57.48 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3546, allocations: 77.11 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3548, allocations: 164.1 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3548, allocations: 25.7 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.3549, allocations: 104 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.117e-06/0.3549, allocations: 3.906 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.3549, allocations: 25.95 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.355, allocations: 322.8 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.3551, allocations: 4 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.3551, allocations: 21.7 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.3551, allocations: 21.72 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3551, allocations: 0 / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.931e-05/0.3552, allocations: 69.53 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3552, allocations: 4 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3553, allocations: 3.938 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3553, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.3553, allocations: 8 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3554, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.742e-05/0.3554, allocations: 7.844 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3554, allocations: 7.938 kB / 1.068 GB, free: 11.4 MB / 0.8419 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 8.013e-05/0.3555, allocations: 118.4 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.3555, allocations: 7.906 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.3556, allocations: 15.8 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3556, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3556, allocations: 3.938 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-06/0.3556, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.356, allocations: 462.8 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.356, allocations: 4.062 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/0.356, allocations: 11.88 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.356, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.356, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.356, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.356, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.757e-05/0.3561, allocations: 77.83 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.3562, allocations: 93.03 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3562, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.3562, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.3562, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.3563, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.999e-05/0.3563, allocations: 125.6 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3563, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000189/0.3565, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8419 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 0.0001185/0.3567, allocations: 103.2 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.3568, allocations: 15.98 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3568, allocations: 0 / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.3568, allocations: 11.94 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.3569, allocations: 7.938 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3573, allocations: 188.8 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3575, allocations: 0.697 MB / 1.069 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.3575, allocations: 11.44 kB / 1.069 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3575, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of Templates: time 0.002137/0.3597, allocations: 0.8638 MB / 1.07 GB, free: 8.398 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches