Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001245/0.001245, allocations: 101.5 kB / 16.41 MB, free: 6.461 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.001287/0.001288, allocations: 189.7 kB / 17.34 MB, free: 5.719 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 / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8755/0.8771, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00219/0.8794, allocations: 0.8286 MB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001343/0.8795, allocations: 43.8 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.8796, allocations: 4 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.784e-05/0.8797, allocations: 11.86 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/0.8798, allocations: 11.86 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.734e-05/0.8798, allocations: 19.98 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.8799, allocations: 59.84 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.8801, allocations: 43.97 kB / 1.168 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.8802, allocations: 23.88 kB / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.8802, allocations: 31.78 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.8803, allocations: 4 kB / 1.168 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.8803, allocations: 8 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.8803, allocations: 19.88 kB / 1.168 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.8804, allocations: 31.8 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.8805, allocations: 71.7 kB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8805, allocations: 0 / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8805, allocations: 4 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.8805, allocations: 0 / 1.168 GB, free: 2.637 MB / 0.8887 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.0004618/0.881, allocations: 388.8 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.881, allocations: 8.625 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.8811, allocations: 8.844 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.8813, allocations: 200.1 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.8813, allocations: 4.375 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.8814, allocations: 12.36 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.8815, allocations: 96.83 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.8816, allocations: 192 / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.8816, allocations: 11.94 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8816, allocations: 0 / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.8817, allocations: 35.98 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.8823, allocations: 440.5 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.749e-05/0.8823, allocations: 41.14 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.8824, allocations: 17.94 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-06/0.8824, allocations: 7.938 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.8824, allocations: 34.56 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.8824, allocations: 0 / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002063/0.8826, allocations: 57.48 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.8827, allocations: 85.09 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.8829, allocations: 148.5 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.8829, allocations: 29.7 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.883, allocations: 108 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.883, allocations: 3.906 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.8831, allocations: 25.95 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.8832, allocations: 314.8 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.8832, allocations: 7.984 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.8832, allocations: 17.72 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.8833, allocations: 29.66 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8833, allocations: 0 / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.361e-05/0.8834, allocations: 61.59 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.8834, allocations: 4 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8834, allocations: 7.938 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.8835, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.8835, allocations: 7.938 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8835, allocations: 3.938 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.8836, allocations: 7.906 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.8836, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 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.444e-05/0.8837, allocations: 121.8 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.8837, allocations: 11.91 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.8838, allocations: 19.8 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8838, allocations: 0 / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8838, allocations: 0 / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.8838, allocations: 4 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.8842, allocations: 462.8 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8842, allocations: 8.062 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/0.8843, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.8843, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.8843, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.8843, allocations: 3.984 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.8843, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.135e-05/0.8844, allocations: 81.78 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.8845, allocations: 96.97 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.8845, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.315e-05/0.8845, allocations: 4 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.8845, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.8845, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.043e-05/0.8846, allocations: 123.2 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8846, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001939/0.8848, allocations: 11.91 kB / 1.172 GB, free: 15.15 MB / 0.9044 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.0001294/0.885, allocations: 99.25 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.72e-05/0.8851, allocations: 23.92 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8851, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-06/0.8851, allocations: 4 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.8853, allocations: 11.94 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.8856, allocations: 188.4 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.8859, allocations: 0.6965 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.886, allocations: 11.44 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.886, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.002499/0.8885, allocations: 0.8794 MB / 1.173 GB, free: 13.16 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches