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.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.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.01025/0.01025, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002052/0.002052, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.37/2.37, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 0.9509 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 140.4 MB / 1.088 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002719/1.08, allocations: 0.826 MB / 1.089 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001643/1.081, allocations: 40.78 kB / 1.089 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/1.081, allocations: 2.156 kB / 1.089 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/1.081, allocations: 5.906 kB / 1.089 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/1.081, allocations: 10.22 kB / 1.089 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.23e-05/1.081, allocations: 19.94 kB / 1.089 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000151/1.081, allocations: 59.48 kB / 1.089 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/1.081, allocations: 49.3 kB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/1.081, allocations: 22.7 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/1.081, allocations: 30.62 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/1.081, allocations: 6.125 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/1.081, allocations: 9.594 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/1.081, allocations: 16.59 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/1.082, allocations: 32.77 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/1.082, allocations: 82.95 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.082, allocations: 1.125 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/1.082, allocations: 0 / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.082, allocations: 0 / 1.089 GB, free: 5.039 MB / 0.8575 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.0005461/1.082, allocations: 375.1 kB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/1.082, allocations: 9.375 kB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/1.082, allocations: 16.81 kB / 1.089 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/1.083, allocations: 193.2 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.083, allocations: 7.625 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/1.083, allocations: 8.75 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/1.083, allocations: 93.7 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.083, allocations: 192 / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/1.083, allocations: 5.312 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.083, allocations: 2.141 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/1.083, allocations: 39.92 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/1.084, allocations: 437.9 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/1.084, allocations: 45.73 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/1.084, allocations: 24.89 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/1.084, allocations: 0.875 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/1.084, allocations: 40.31 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.084, allocations: 0 / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002134/1.084, allocations: 57.28 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.084, allocations: 78.17 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/1.084, allocations: 166.8 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/1.084, allocations: 25.7 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/1.085, allocations: 104.2 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.547e-06/1.085, allocations: 4.703 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/1.085, allocations: 19 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.99e-05/1.085, allocations: 319.8 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/1.085, allocations: 4.234 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/1.085, allocations: 23.62 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/1.085, allocations: 26.61 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.085, allocations: 0.8125 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.38e-05/1.085, allocations: 61.34 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.085, allocations: 5.594 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.085, allocations: 4.969 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.085, allocations: 0.7031 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/1.085, allocations: 6.266 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/1.085, allocations: 5.641 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/1.085, allocations: 6.094 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/1.085, allocations: 5.094 kB / 1.091 GB, free: 2.965 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 8.878e-05/1.085, allocations: 114.1 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/1.085, allocations: 9.203 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/1.085, allocations: 16.48 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.085, allocations: 0.5625 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/1.085, allocations: 1.094 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.085, allocations: 1.562 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/1.086, allocations: 470.1 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.086, allocations: 0.7969 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/1.086, allocations: 3.281 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.086, allocations: 0.9375 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/1.086, allocations: 10.08 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.086, allocations: 3.938 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.086, allocations: 1.094 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/1.086, allocations: 81.41 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/1.086, allocations: 90.14 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/1.086, allocations: 1.922 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/1.086, allocations: 0 / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/1.086, allocations: 6.656 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/1.086, allocations: 1.125 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001393/1.086, allocations: 122.8 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.086, allocations: 0 / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002153/1.087, allocations: 6.75 kB / 1.092 GB, free: 2.051 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.0001969/1.087, allocations: 101.7 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001498/1.087, allocations: 16.78 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.087, allocations: 0 / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/1.087, allocations: 12.88 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/1.087, allocations: 12.2 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/1.088, allocations: 168.7 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/1.088, allocations: 0.6957 MB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.376e-05/1.088, allocations: 7.328 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/1.088, allocations: 10 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/1.088, allocations: 5.062 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.004283/1.092, allocations: 461.7 kB / 1.094 GB, free: 0.9883 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches