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.0009678/0.0009677, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008308/0.008308, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.722/2.722, allocations: 437.8 MB / 0.7121 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004171, allocations: 20.19 kB / 0.8728 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6751/0.6755, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001705/0.6773, allocations: 0.5469 MB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.6775, allocations: 39.78 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.6776, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.6777, allocations: 7.922 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.6778, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.204e-05/0.6779, allocations: 12 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.678, allocations: 63.78 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.6783, allocations: 43.95 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.6784, allocations: 19.86 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.6785, allocations: 19.86 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.6785, allocations: 4 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.6785, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.6786, allocations: 7.938 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.6786, allocations: 53.52 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.6788, allocations: 69.64 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6788, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.528e-06/0.6788, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6788, allocations: 3.938 kB / 1.024 GB, free: 15.06 MB / 0.7794 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.0004606/0.6792, allocations: 371.2 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6793, allocations: 8.031 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.6793, allocations: 8.844 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.6796, allocations: 192.2 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.6796, allocations: 8.375 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.6796, allocations: 12.36 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.6798, allocations: 91.89 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6798, allocations: 192 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.6799, allocations: 11.94 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.6799, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.68, allocations: 35.98 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.6805, allocations: 440.5 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.996e-05/0.6806, allocations: 45.08 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.6807, allocations: 29.81 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.6807, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.6807, allocations: 34.56 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6807, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001823/0.6809, allocations: 57.48 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.681, allocations: 81.09 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.6811, allocations: 165.6 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.6811, allocations: 25.7 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.6812, allocations: 104 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/0.6812, allocations: 3.906 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.6813, allocations: 21.7 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6814, allocations: 314.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.6815, allocations: 7.984 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.6815, allocations: 17.72 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.6815, allocations: 29.66 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6816, allocations: 4 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.47e-05/0.6816, allocations: 57.59 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6817, allocations: 5.875 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.6817, allocations: 3.938 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.6817, allocations: 7.938 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.6818, allocations: 4 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6818, allocations: 64 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.6818, allocations: 11.91 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.6819, allocations: 0 / 1.026 GB, free: 12.63 MB / 0.7794 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 0.0001174/0.682, allocations: 113.8 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.682, allocations: 7.906 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.6821, allocations: 19.8 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6821, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6821, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6821, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.6825, allocations: 470.8 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6826, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.6826, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6826, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.6826, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6826, allocations: 3.938 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6826, allocations: 3.984 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.6827, allocations: 85.84 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.6828, allocations: 92.94 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.6828, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.6828, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.6829, allocations: 7.938 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-06/0.6829, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001074/0.683, allocations: 123.3 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.683, allocations: 4 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000192/0.6832, allocations: 8 kB / 1.027 GB, free: 11.59 MB / 0.7794 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.000156/0.6834, allocations: 99.23 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.716e-05/0.6835, allocations: 23.92 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6835, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.6835, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.6837, allocations: 14.58 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.684, allocations: 182.3 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.6843, allocations: 0.7004 MB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.6843, allocations: 4.438 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.6843, allocations: 11.44 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6844, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.002408/0.6868, allocations: 432.7 kB / 1.028 GB, free: 10.06 MB / 0.7794 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/jenkins/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