Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001634/0.001634, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 192.1 kB / 16.53 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.572/1.572, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.888/2.888, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 0.8692 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8492, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002317/0.8516, allocations: 0.8288 MB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001074/0.8517, allocations: 39.78 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.8518, allocations: 4 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.8518, allocations: 7.922 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.8519, allocations: 7.875 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.328e-05/0.852, allocations: 19.98 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.8521, allocations: 67.78 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.8523, allocations: 39.97 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.8523, allocations: 23.86 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.8524, allocations: 27.86 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.8524, allocations: 8 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.8524, allocations: 4 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.8525, allocations: 23.91 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.8525, allocations: 31.81 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.8527, allocations: 73.67 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8527, allocations: 0 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8527, allocations: 3.938 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.8527, allocations: 0 / 1.018 GB, free: 1.234 MB / 0.7637 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.0005553/0.8532, allocations: 383.2 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.8533, allocations: 8.031 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.8533, allocations: 16.78 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.8537, allocations: 192.2 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.8537, allocations: 8.375 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.8537, allocations: 4.375 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.8539, allocations: 97.67 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.8539, allocations: 4.188 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.854, allocations: 7.938 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.854, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.597e-05/0.8541, allocations: 35.98 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.8547, allocations: 432.6 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.035e-05/0.8548, allocations: 41.16 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.8548, allocations: 25.78 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.8548, allocations: 96 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.8549, allocations: 34.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.8549, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001911/0.8551, allocations: 69.45 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.8551, allocations: 77.11 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.8553, allocations: 164.1 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.8553, allocations: 25.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.8554, allocations: 107.9 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/0.8554, allocations: 3.906 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.8555, allocations: 17.72 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8556, allocations: 331.1 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.8557, allocations: 4 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.8557, allocations: 17.72 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.887e-05/0.8557, allocations: 29.64 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8557, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.616e-05/0.8558, allocations: 57.61 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.8559, allocations: 8.062 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8559, allocations: 3.938 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8559, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.856, allocations: 11.94 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.856, allocations: 3.984 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.856, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.856, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 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.582e-05/0.8561, allocations: 113.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.8562, allocations: 15.75 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.8562, allocations: 15.81 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.8562, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8562, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8562, allocations: 3.984 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.8566, allocations: 470.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8567, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.8567, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.8567, allocations: 4.062 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.8567, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8567, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8567, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.736e-05/0.8568, allocations: 81.77 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.8569, allocations: 84.95 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.8569, allocations: 8 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.8569, allocations: 4.031 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.8569, allocations: 3.984 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.857, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.053e-05/0.857, allocations: 112.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8571, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002048/0.8573, allocations: 8 kB / 1.022 GB, free: 13.75 MB / 0.7794 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.0001379/0.8574, allocations: 103.2 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.859e-05/0.8575, allocations: 19.94 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8575, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.8575, allocations: 8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.8577, allocations: 7.938 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.8581, allocations: 163.1 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.8585, allocations: 0.6924 MB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.8585, allocations: 12.36 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.8586, allocations: 11.44 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8586, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.003236/0.8618, allocations: 460.5 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches