Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.006011/0.006011, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001279/0.00128, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.97 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3454, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002101/0.3475, allocations: 0.8137 MB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001256/0.3476, allocations: 47.78 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.3477, allocations: 0 / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.3478, allocations: 7.875 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.204e-05/0.3479, allocations: 11.88 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.352e-05/0.3479, allocations: 23.97 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.348, allocations: 59.84 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.3482, allocations: 43.95 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.3483, allocations: 27.86 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.3484, allocations: 27.86 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.3484, allocations: 7.938 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.3484, allocations: 12 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.3484, allocations: 15.92 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.3485, allocations: 35.75 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3486, allocations: 75.62 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3486, allocations: 0 / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3486, allocations: 0 / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3486, allocations: 4 kB / 1.089 GB, free: 308 kB / 0.8419 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.000447/0.3491, allocations: 363.3 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3491, allocations: 12.03 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.3492, allocations: 12.75 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3494, allocations: 208.1 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3494, allocations: 4.375 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3494, allocations: 8.375 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3496, allocations: 93.45 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3496, allocations: 192 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3496, allocations: 7.938 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3496, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.3497, allocations: 35.98 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.3503, allocations: 444.5 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.385e-05/0.3504, allocations: 33.22 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.3504, allocations: 21.78 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.3504, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3505, allocations: 38.59 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3505, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.3507, allocations: 61.47 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3507, allocations: 77.11 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3509, allocations: 160.1 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3509, allocations: 29.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.351, allocations: 104 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.351, allocations: 7.906 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.351, allocations: 13.72 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3511, allocations: 322.8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.3512, allocations: 11.94 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.3512, allocations: 17.72 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.3512, allocations: 29.66 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3513, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.766e-05/0.3513, allocations: 61.59 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3514, allocations: 4 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.3514, allocations: 7.922 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3514, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.3515, allocations: 8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3515, allocations: 8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.3515, allocations: 15.83 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.3515, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 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 7.602e-05/0.3516, allocations: 114.4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.3517, allocations: 7.906 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.3517, allocations: 15.81 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3517, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3517, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3517, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.3521, allocations: 474.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3521, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.3521, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3521, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.3522, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3522, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3522, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.32e-05/0.3523, allocations: 89.83 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.3523, allocations: 85.02 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3523, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.873e-05/0.3524, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.3524, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3524, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.509e-05/0.3525, allocations: 124.9 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3525, allocations: 4 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001827/0.3527, allocations: 4 kB / 1.092 GB, free: 12.83 MB / 0.8575 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.0001143/0.3528, allocations: 103.2 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.316e-05/0.3529, allocations: 19.94 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3529, allocations: 7.875 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.058e-05/0.3529, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.3531, allocations: 8.281 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.3534, allocations: 170.8 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.3536, allocations: 0.6929 MB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.3537, allocations: 8.422 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.3537, allocations: 11.44 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.3537, allocations: 4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of Templates: time 0.002704/0.3564, allocations: 464.1 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches