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.00102/0.00102, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001293/0.001293, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.843/2.843, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000561/0.0005611, allocations: 8.781 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4486, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001178/0.4499, allocations: 0.5106 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.45, allocations: 43.78 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.4501, allocations: 0 / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.4501, allocations: 11.86 kB / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.4502, allocations: 7.938 kB / 1.059 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.444e-05/0.4502, allocations: 15.98 kB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.4503, allocations: 55.77 kB / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4505, allocations: 28.16 kB / 1.059 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.619e-05/0.4505, allocations: 19.88 kB / 1.059 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.4506, allocations: 15.86 kB / 1.059 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.4506, allocations: 4 kB / 1.059 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-06/0.4506, allocations: 4 kB / 1.059 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.4507, allocations: 11.92 kB / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.4507, allocations: 37.64 kB / 1.059 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.555e-05/0.4508, allocations: 51.88 kB / 1.059 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4508, allocations: 0 / 1.059 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4508, allocations: 3.938 kB / 1.059 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4508, allocations: 0 / 1.059 GB, free: 4.512 MB / 0.8106 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.0004564/0.4513, allocations: 367.4 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4513, allocations: 12.03 kB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.4514, allocations: 7.906 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.4516, allocations: 190.9 kB / 1.059 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.4516, allocations: 3.938 kB / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.4517, allocations: 15.95 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.4518, allocations: 91.3 kB / 1.059 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4518, allocations: 0 / 1.059 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4518, allocations: 0 / 1.059 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.4519, allocations: 8 kB / 1.059 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.4519, allocations: 39.92 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.4525, allocations: 436.6 kB / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.778e-05/0.4526, allocations: 53.23 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.4526, allocations: 13.78 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.4526, allocations: 4 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.4526, allocations: 38.52 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4527, allocations: 3.938 kB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001912/0.4528, allocations: 53.73 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.4529, allocations: 81.09 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.4531, allocations: 159.7 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.4532, allocations: 29.69 kB / 1.06 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.4532, allocations: 99.98 kB / 1.06 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.4532, allocations: 11.89 kB / 1.06 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-06/0.4532, allocations: 0 / 1.06 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4534, allocations: 314.8 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.4534, allocations: 12.06 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.4534, allocations: 25.64 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.908e-05/0.4535, allocations: 4 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4535, allocations: 4 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.758e-05/0.4535, allocations: 53.61 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.4536, allocations: 7.984 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4536, allocations: 3.953 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.4536, allocations: 8.062 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.423e-05/0.4536, allocations: 7.938 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.4536, allocations: 0 / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.4537, allocations: 11.84 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-06/0.4537, allocations: 0 / 1.061 GB, free: 2.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.338e-05/0.4538, allocations: 113.8 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.4538, allocations: 11.84 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.4539, allocations: 15.95 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.4539, allocations: 7.938 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4539, allocations: 4 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-06/0.4539, allocations: 0 / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.4543, allocations: 462.8 kB / 1.061 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4543, allocations: 0 / 1.061 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.4543, allocations: 7.953 kB / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4543, allocations: 0 / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.4543, allocations: 0 / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4543, allocations: 4 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4543, allocations: 4.062 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.181e-05/0.4544, allocations: 81.83 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.4545, allocations: 92.94 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.4545, allocations: 3.953 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.4545, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.4545, allocations: 32 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.4546, allocations: 8 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.3e-05/0.4547, allocations: 126.1 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4547, allocations: 0 / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001732/0.4548, allocations: 4 kB / 1.062 GB, free: 1.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001306/0.455, allocations: 99.25 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.048e-05/0.455, allocations: 15.94 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4551, allocations: 0 / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.4551, allocations: 8.125 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.4552, allocations: 11.98 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.4556, allocations: 182.6 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.4558, allocations: 0.6926 MB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.4559, allocations: 12.41 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.4559, allocations: 11.44 kB / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.4559, allocations: 0 / 1.063 GB, free: 16 MB / 0.8262 GB Notification: Performance of Templates: time 0.002283/0.4582, allocations: 419.9 kB / 1.063 GB, free: 15.59 MB / 0.8262 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