Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 105.9 kB / 16.41 MB, free: 6.457 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.001745/0.001745, allocations: 189.5 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.382/1.382, 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.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8517/0.8531, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002254/0.8554, allocations: 0.8192 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001373/0.8556, allocations: 43.78 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.8557, allocations: 0 / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.8557, allocations: 11.86 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.529e-05/0.8558, allocations: 11.88 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.502e-05/0.8559, allocations: 19.98 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.856, allocations: 59.84 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.8562, allocations: 55.89 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.8563, allocations: 19.88 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.8564, allocations: 35.78 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.8564, allocations: 8 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.8564, allocations: 4 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.8564, allocations: 11.94 kB / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.8565, allocations: 39.8 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.8566, allocations: 71.64 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.8566, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8566, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.8566, allocations: 4 kB / 1.21 GB, free: 12.45 MB / 0.9356 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.0005045/0.8572, allocations: 384.8 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.8572, allocations: 12.03 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.8573, allocations: 8.844 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.8575, allocations: 192.1 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.8575, allocations: 8.375 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.8575, allocations: 4.375 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.8577, allocations: 103.9 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8577, allocations: 192 / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.8578, allocations: 3.938 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.8578, allocations: 7.984 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.8579, allocations: 35.92 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.8584, allocations: 432.6 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.523e-05/0.8585, allocations: 49.19 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.8586, allocations: 25.83 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.8586, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.8586, allocations: 30.56 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.8586, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002234/0.8589, allocations: 61.48 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.8589, allocations: 77.11 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.8591, allocations: 160.5 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.8591, allocations: 29.64 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.8592, allocations: 104 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.018e-05/0.8592, allocations: 3.906 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.8593, allocations: 21.7 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8594, allocations: 323.1 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.8594, allocations: 4 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.8594, allocations: 21.7 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.8595, allocations: 25.66 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8595, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.433e-05/0.8596, allocations: 69.56 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.8596, allocations: 6.031 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8596, allocations: 3.938 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.8597, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.8597, allocations: 8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8597, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/0.8598, allocations: 7.844 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.8598, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 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 9.357e-05/0.8599, allocations: 113.8 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.8599, allocations: 11.94 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.86, allocations: 15.8 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.86, allocations: 4 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.86, allocations: 0 / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.86, allocations: 0 / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.8604, allocations: 470.8 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8604, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.8604, allocations: 4 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8604, allocations: 4.062 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.8605, allocations: 0 / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.8605, allocations: 4 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8605, allocations: 4 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.227e-05/0.8606, allocations: 81.77 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.8606, allocations: 92.94 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.8607, allocations: 8.031 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.8607, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.8607, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.8608, allocations: 4 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.863e-05/0.8609, allocations: 121.3 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8609, allocations: 0 / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001944/0.8611, allocations: 7.906 kB / 1.213 GB, free: 8.965 MB / 0.9356 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.000129/0.8612, allocations: 99.25 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.964e-05/0.8613, allocations: 23.92 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8613, allocations: 0 / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.114e-05/0.8613, allocations: 11.94 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.8615, allocations: 7.938 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.8618, allocations: 188.4 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.8621, allocations: 0.7004 MB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.8622, allocations: 11.44 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.8622, allocations: 0 / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of Templates: time 0.002425/0.8646, allocations: 0.86 MB / 1.214 GB, free: 6.992 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches