Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.0009121/0.0009149, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.001384/0.001384, allocations: 177.3 kB / 15.95 MB, free: 216 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.503/1.503, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 12 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9066/0.9069, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001116/0.9081, allocations: 0.5101 MB / 0.954 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.9083, allocations: 48.88 kB / 0.9541 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.9083, allocations: 1.469 kB / 0.9541 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.9083, allocations: 13.33 kB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.9084, allocations: 3.938 kB / 0.9541 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.332e-05/0.9085, allocations: 12.19 kB / 0.9541 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.855e-05/0.9086, allocations: 35.02 kB / 0.9541 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.9087, allocations: 35.66 kB / 0.9542 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.9088, allocations: 20.89 kB / 0.9542 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.9089, allocations: 15.58 kB / 0.9542 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.9089, allocations: 2.219 kB / 0.9542 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.9089, allocations: 1.344 kB / 0.9542 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.909, allocations: 15.08 kB / 0.9542 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.909, allocations: 36.86 kB / 0.9542 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.9091, allocations: 45.55 kB / 0.9543 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9091, allocations: 4 kB / 0.9543 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9091, allocations: 0.9688 kB / 0.9543 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.9091, allocations: 0 / 0.9543 GB, free: 7.473 MB / 0.7169 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.0004768/0.9096, allocations: 368.8 kB / 0.9546 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.9097, allocations: 8.5 kB / 0.9547 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.9097, allocations: 15.8 kB / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.9099, allocations: 189.9 kB / 0.9548 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.91, allocations: 3.469 kB / 0.9549 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.91, allocations: 12.31 kB / 0.9549 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.9102, allocations: 85.42 kB / 0.9549 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.9102, allocations: 0 / 0.9549 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.9102, allocations: 5.438 kB / 0.9549 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.9102, allocations: 1.375 kB / 0.9549 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.9103, allocations: 43.31 kB / 0.955 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.9109, allocations: 442.1 kB / 0.9554 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.911, allocations: 41.28 kB / 0.9555 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.911, allocations: 0 / 0.9555 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.911, allocations: 32.03 kB / 0.9555 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.505e-06/0.911, allocations: 7.938 kB / 0.9555 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000207/0.9113, allocations: 59.66 kB / 0.9555 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.9113, allocations: 77.11 kB / 0.9556 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.9115, allocations: 162.5 kB / 0.9558 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.9115, allocations: 26.67 kB / 0.9558 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.9116, allocations: 104.8 kB / 0.9559 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.9116, allocations: 8.844 kB / 0.9559 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.9116, allocations: 4.25 kB / 0.9559 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.504e-05/0.9117, allocations: 321 kB / 0.9562 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.9117, allocations: 10.92 kB / 0.9562 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.9117, allocations: 22.81 kB / 0.9563 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.9118, allocations: 4.188 kB / 0.9563 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9118, allocations: 1.125 kB / 0.9563 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.703e-05/0.9119, allocations: 58.88 kB / 0.9563 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.9119, allocations: 10.59 kB / 0.9563 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.9119, allocations: 3.938 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.9119, allocations: 1.375 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.912, allocations: 5.469 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.912, allocations: 0 / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.912, allocations: 2.469 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.9121, allocations: 1.5 kB / 0.9563 GB, free: 5.383 MB / 0.7169 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 7.574e-05/0.9121, allocations: 117.2 kB / 0.9564 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.9122, allocations: 9 kB / 0.9565 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.9122, allocations: 18.89 kB / 0.9565 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9122, allocations: 0 / 0.9565 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.9122, allocations: 5.281 kB / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.9123, allocations: 0 / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.9126, allocations: 470.5 kB / 0.9569 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9126, allocations: 0 / 0.9569 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.9127, allocations: 3.594 kB / 0.9569 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.9127, allocations: 5.344 kB / 0.9569 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.9127, allocations: 0 / 0.9569 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.9127, allocations: 1.188 kB / 0.9569 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9127, allocations: 1.125 kB / 0.9569 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.9128, allocations: 96 kB / 0.957 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.9129, allocations: 95.69 kB / 0.9571 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.9129, allocations: 5.25 kB / 0.9571 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.9129, allocations: 0 / 0.9571 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.9129, allocations: 10.44 kB / 0.9571 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.9129, allocations: 0 / 0.9571 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001021/0.913, allocations: 121.3 kB / 0.9573 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9131, allocations: 0 / 0.9573 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002111/0.9133, allocations: 15.22 kB / 0.9573 GB, free: 4.402 MB / 0.7169 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.0001653/0.9134, allocations: 100.4 kB / 0.9574 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.531e-05/0.9135, allocations: 21.73 kB / 0.9574 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9135, allocations: 0 / 0.9574 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.9136, allocations: 9.219 kB / 0.9574 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.9137, allocations: 2.219 kB / 0.9574 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.9141, allocations: 181.8 kB / 0.9576 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.9143, allocations: 0.6969 MB / 0.9582 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.9143, allocations: 8.203 kB / 0.9583 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.9143, allocations: 10.72 kB / 0.9583 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9143, allocations: 4 kB / 0.9583 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.002698/0.917, allocations: 404.3 kB / 0.9587 GB, free: 3.188 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches