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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009907/0.0009908, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001609/0.001609, allocations: 172.7 kB / 15.95 MB, free: 208 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.515/1.515, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 8 kB / 0.8722 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8592, allocations: 153.8 MB / 1.022 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001141/0.8604, allocations: 0.5238 MB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.8605, allocations: 39.78 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.8606, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.8606, allocations: 7.922 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.998e-05/0.8607, allocations: 4 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.428e-05/0.8608, allocations: 11.98 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.8609, allocations: 55.86 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.861, allocations: 32.14 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.876e-05/0.8611, allocations: 19.88 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.8612, allocations: 23.8 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.8612, allocations: 0 / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.8612, allocations: 4 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.8612, allocations: 11.92 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.8613, allocations: 33.7 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.019e-05/0.8613, allocations: 55.81 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.8614, allocations: 0 / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.534e-06/0.8614, allocations: 0 / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.8614, allocations: 0 / 1.023 GB, free: 15.27 MB / 0.7794 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.0004648/0.8619, allocations: 373 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8619, allocations: 11.97 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.8619, allocations: 7.906 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.8622, allocations: 191 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.8622, allocations: 8 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.8622, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.8624, allocations: 101.1 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8624, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.8625, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.8625, allocations: 4 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.517e-05/0.8626, allocations: 35.98 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.8632, allocations: 440.6 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.404e-05/0.8632, allocations: 41.09 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.8633, allocations: 25.84 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.8633, allocations: 4.031 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.8633, allocations: 30.56 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.8633, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002015/0.8635, allocations: 57.48 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.8636, allocations: 85.36 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.8638, allocations: 166.2 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.8638, allocations: 25.7 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.8639, allocations: 104 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.8639, allocations: 7.844 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.8639, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.864, allocations: 314.8 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.8641, allocations: 7.984 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.8641, allocations: 21.72 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.8641, allocations: 8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8641, allocations: 3.938 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.321e-05/0.8642, allocations: 61.53 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8642, allocations: 4 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.8643, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.8643, allocations: 7.953 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.8643, allocations: 4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.8644, allocations: 4.062 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.8644, allocations: 4 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.8644, allocations: 0 / 1.025 GB, free: 12.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/0.8645, allocations: 121.8 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.8645, allocations: 7.906 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.8646, allocations: 15.86 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.8646, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8646, allocations: 3.953 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8646, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.8649, allocations: 470.7 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.865, allocations: 4 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.865, allocations: 4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.865, allocations: 3.953 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.865, allocations: 8 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.865, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.865, allocations: 3.984 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.556e-05/0.8651, allocations: 73.97 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.8652, allocations: 89.09 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.8652, allocations: 7.938 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.8652, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.8652, allocations: 15.88 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.8652, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.85e-05/0.8653, allocations: 123.3 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/0.8653, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001884/0.8655, allocations: 11.94 kB / 1.026 GB, free: 11.84 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 (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.0001204/0.8657, allocations: 95.25 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.637e-05/0.8657, allocations: 15.98 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8658, allocations: 0 / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.8658, allocations: 7.938 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.8659, allocations: 13.97 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.8663, allocations: 178.5 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.8665, allocations: 0.7004 MB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.8666, allocations: 4.438 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.8666, allocations: 11.44 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8666, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of Templates: time 0.002579/0.8692, allocations: 415.9 kB / 1.028 GB, free: 10.34 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=480 -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