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.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.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.006917/0.006917, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001543/0.001543, allocations: 195.7 kB / 16.67 MB, free: 6.379 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.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 461.8 MB / 0.7347 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4137, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001907/0.4156, allocations: 0.8253 MB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001074/0.4158, allocations: 43.78 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.4158, allocations: 0 / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.4159, allocations: 11.81 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.416, allocations: 7.938 kB / 1.209 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.531e-05/0.416, allocations: 15.97 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.4161, allocations: 67.78 kB / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.4163, allocations: 43.92 kB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.347e-05/0.4163, allocations: 27.86 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.4164, allocations: 23.86 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.4164, allocations: 8 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.4164, allocations: 4 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.4165, allocations: 19.92 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.4165, allocations: 39.73 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.4166, allocations: 71.7 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4166, allocations: 3.938 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4166, allocations: 0 / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.4166, allocations: 0 / 1.209 GB, free: 8.402 MB / 0.9669 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.0004342/0.4171, allocations: 379.2 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4171, allocations: 8.625 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.4172, allocations: 12.84 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.4174, allocations: 200.1 kB / 1.209 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4174, allocations: 8.375 kB / 1.209 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.4174, allocations: 8.375 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.4176, allocations: 87.95 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.4176, allocations: 192 / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4176, allocations: 7.938 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4176, allocations: 0 / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.4177, allocations: 35.92 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.4183, allocations: 440.5 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.341e-05/0.4183, allocations: 37.28 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.4184, allocations: 21.84 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.4184, allocations: 4 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.4184, allocations: 34.56 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.4184, allocations: 0 / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001695/0.4186, allocations: 61.47 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.4186, allocations: 77.11 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4188, allocations: 161.1 kB / 1.21 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.4188, allocations: 25.95 kB / 1.21 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.4189, allocations: 115.9 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.4189, allocations: 3.906 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.4189, allocations: 21.62 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.419, allocations: 322.8 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.4191, allocations: 8 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.4191, allocations: 17.72 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.212e-05/0.4191, allocations: 25.72 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4191, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.618e-05/0.4192, allocations: 65.56 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4192, allocations: 4 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4192, allocations: 3.938 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4193, allocations: 0 / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.4193, allocations: 8 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4193, allocations: 0 / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.4194, allocations: 11.89 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.4194, allocations: 8 kB / 1.211 GB, free: 5.961 MB / 0.9669 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 7.793e-05/0.4195, allocations: 113.8 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.4195, allocations: 11.84 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.4196, allocations: 7.906 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4196, allocations: 7.984 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4196, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4196, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.4199, allocations: 478.8 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4199, allocations: 0 / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.42, allocations: 4 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.42, allocations: 0 / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.42, allocations: 0 / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.42, allocations: 0 / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.42, allocations: 4 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.184e-05/0.4201, allocations: 89.8 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.4202, allocations: 81.02 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.4202, allocations: 4 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.4202, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.4202, allocations: 3.938 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.4202, allocations: 4 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.4203, allocations: 115.2 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4203, allocations: 4 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001816/0.4205, allocations: 12.03 kB / 1.212 GB, free: 4.926 MB / 0.9669 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.0001128/0.4206, allocations: 103.2 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.075e-05/0.4207, allocations: 12 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4207, allocations: 0 / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.4208, allocations: 7.938 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.4209, allocations: 17.34 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.4212, allocations: 163 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.4215, allocations: 0.6966 MB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.4215, allocations: 12.42 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.4216, allocations: 7.438 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.4216, allocations: 4 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of Templates: time 0.002569/0.4241, allocations: 471.1 kB / 1.213 GB, free: 3.383 MB / 0.9669 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 -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/jenkins/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