Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 110.6 kB / 16.37 MB, free: 6.004 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.001762/0.001762, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.538/1.538, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 60.28 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3713, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002195/0.3736, allocations: 0.8435 MB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001062/0.3737, allocations: 39.84 kB / 1.028 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.3737, allocations: 4 kB / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.3738, allocations: 7.875 kB / 1.028 GB, free: 1.16 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.3739, allocations: 7.875 kB / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.167e-05/0.3739, allocations: 19.97 kB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.374, allocations: 67.84 kB / 1.028 GB, free: 1.066 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.3742, allocations: 39.95 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.3743, allocations: 31.8 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.3744, allocations: 31.8 kB / 1.028 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3744, allocations: 4 kB / 1.028 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.3744, allocations: 8 kB / 1.028 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.3744, allocations: 15.92 kB / 1.028 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.3745, allocations: 27.81 kB / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.3746, allocations: 79.62 kB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3746, allocations: 4 kB / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3746, allocations: 0 / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3746, allocations: 0 / 1.028 GB, free: 0.8281 MB / 0.795 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.0004228/0.375, allocations: 375.2 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3751, allocations: 8.031 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.3751, allocations: 8.844 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.3753, allocations: 192.2 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3753, allocations: 8.281 kB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3754, allocations: 12.38 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3755, allocations: 87.89 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3755, allocations: 192 / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3755, allocations: 7.938 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3756, allocations: 8 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.3756, allocations: 35.92 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.3762, allocations: 440.6 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.368e-05/0.3762, allocations: 37.25 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.3763, allocations: 25.72 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.3763, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3763, allocations: 34.56 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3763, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.3765, allocations: 57.47 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.3765, allocations: 81.36 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3767, allocations: 164.7 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3767, allocations: 29.64 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.3768, allocations: 108 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.3768, allocations: 7.906 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.3769, allocations: 17.72 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.377, allocations: 314.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.377, allocations: 8 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.377, allocations: 21.72 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.3771, allocations: 25.66 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3771, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.552e-05/0.3772, allocations: 61.53 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3772, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3772, allocations: 4.031 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3772, allocations: 12.05 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.3773, allocations: 4 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3773, allocations: 3.984 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.3774, allocations: 11.84 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3774, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 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.209e-05/0.3774, allocations: 117.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.3775, allocations: 7.906 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.3775, allocations: 11.81 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3775, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3775, allocations: 4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3776, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.3781, allocations: 474.8 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3781, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.3781, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3782, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3782, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.3782, allocations: 7.938 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3782, allocations: 8 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.707e-05/0.3783, allocations: 81.83 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.3783, allocations: 85.02 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3783, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.3784, allocations: 0 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.3784, allocations: 4.031 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.3784, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000101/0.3785, allocations: 122.5 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3785, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001836/0.3787, allocations: 12 kB / 1.031 GB, free: 13.35 MB / 0.8106 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.0001287/0.3788, allocations: 99.23 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.154e-05/0.3789, allocations: 19.94 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3789, allocations: 128 / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.3789, allocations: 11.94 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.3791, allocations: 11.94 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.3794, allocations: 162.8 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.3796, allocations: 0.6924 MB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.3797, allocations: 12.55 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.3797, allocations: 11.44 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3797, allocations: 0 / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of Templates: time 0.002483/0.3822, allocations: 444.5 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches