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.0106/0.0106, allocations: 96.92 kB / 15.73 MB, free: 6.488 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.002437/0.002437, allocations: 189.5 kB / 16.67 MB, free: 6.391 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.575/2.575, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.55 kB / 0.9509 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3248, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001982/0.3269, allocations: 0.8177 MB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.327, allocations: 39.8 kB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.327, allocations: 4 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.3271, allocations: 11.86 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.372e-05/0.3272, allocations: 11.94 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.695e-05/0.3272, allocations: 19.92 kB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3274, allocations: 67.83 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3275, allocations: 43.89 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.3276, allocations: 27.88 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.3276, allocations: 27.84 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3277, allocations: 4 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.3277, allocations: 11.94 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.3277, allocations: 11.98 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.3277, allocations: 35.69 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.3279, allocations: 79.58 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3279, allocations: 0 / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3279, allocations: 0 / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3279, allocations: 0 / 1.089 GB, free: 288 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.0004519/0.3283, allocations: 387.1 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3284, allocations: 8.031 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.3284, allocations: 8.891 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.3286, allocations: 196.2 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3287, allocations: 8.375 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3287, allocations: 8.375 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3288, allocations: 85.52 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3289, allocations: 4.188 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3289, allocations: 7.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3289, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.289e-05/0.329, allocations: 39.92 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.3295, allocations: 432.6 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.855e-05/0.3295, allocations: 45.33 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.3296, allocations: 17.78 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.3296, allocations: 4 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.3296, allocations: 30.56 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3296, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000171/0.3298, allocations: 61.7 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3299, allocations: 81.11 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.33, allocations: 159.6 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.33, allocations: 33.64 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.3301, allocations: 104 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.3301, allocations: 11.88 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.3302, allocations: 17.72 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3303, allocations: 314.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.3303, allocations: 12.05 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.3303, allocations: 17.72 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.3304, allocations: 25.72 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3304, allocations: 7.938 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.831e-05/0.3305, allocations: 61.58 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3305, allocations: 4.062 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3305, allocations: 11.94 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3305, allocations: 96 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.3306, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3306, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.3306, allocations: 11.94 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.3306, allocations: 0 / 1.091 GB, free: 13.84 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.372e-05/0.3307, allocations: 118.3 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.3308, allocations: 11.94 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.3308, allocations: 15.81 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3308, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3308, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3308, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.3312, allocations: 462.8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3312, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.3312, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3312, allocations: 4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3312, allocations: 8.047 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3312, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3312, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.265e-05/0.3313, allocations: 77.89 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.3314, allocations: 89.05 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.3314, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.405e-05/0.3314, allocations: 4.031 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.3315, allocations: 7.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.3315, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.92e-05/0.3315, allocations: 124.9 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3316, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001843/0.3317, allocations: 15.89 kB / 1.092 GB, free: 12.79 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.0001084/0.3319, allocations: 95.25 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.115e-05/0.3319, allocations: 23.98 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.332, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.332, allocations: 7.938 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.3321, allocations: 11.94 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.3324, allocations: 162.8 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.3327, allocations: 0.6931 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.3327, allocations: 4.438 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.3327, allocations: 15.42 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3327, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of Templates: time 0.00234/0.3351, allocations: 471.2 kB / 1.094 GB, free: 11.26 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