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.0138/0.0138, allocations: 108.3 kB / 15.74 MB, free: 6.055 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.002383/0.002383, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.418/2.418, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.024, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001948/1.026, allocations: 0.815 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/1.026, allocations: 41.02 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/1.026, allocations: 1.125 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.085e-05/1.026, allocations: 9.797 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/1.027, allocations: 13.59 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.659e-05/1.027, allocations: 17.34 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/1.027, allocations: 62.55 kB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/1.027, allocations: 42.14 kB / 1.089 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/1.027, allocations: 33.58 kB / 1.089 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/1.027, allocations: 30.83 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/1.027, allocations: 9.625 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/1.027, allocations: 6.406 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/1.027, allocations: 12.39 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/1.027, allocations: 32.55 kB / 1.089 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/1.027, allocations: 81.52 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.027, allocations: 0 / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.625e-06/1.027, allocations: 1 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.027, allocations: 0 / 1.089 GB, free: 4.754 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.0004091/1.028, allocations: 374.5 kB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.028, allocations: 13.16 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/1.028, allocations: 13.56 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/1.028, allocations: 189.5 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/1.028, allocations: 6.719 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/1.028, allocations: 9.812 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/1.028, allocations: 97.08 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/1.028, allocations: 1.094 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.028, allocations: 5.094 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.028, allocations: 6.125 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/1.028, allocations: 39.08 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/1.029, allocations: 430.4 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.572e-05/1.029, allocations: 46.06 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/1.029, allocations: 24.83 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/1.029, allocations: 0.7969 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/1.029, allocations: 35.44 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.029, allocations: 0 / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001637/1.029, allocations: 57.56 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/1.029, allocations: 78.45 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/1.029, allocations: 163.2 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/1.029, allocations: 25.7 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/1.029, allocations: 107.8 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/1.029, allocations: 9.562 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/1.029, allocations: 14.3 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/1.03, allocations: 319.5 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/1.03, allocations: 8.859 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/1.03, allocations: 19.17 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/1.03, allocations: 31.19 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.03, allocations: 5.094 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.883e-05/1.03, allocations: 57.66 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.03, allocations: 4.469 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.03, allocations: 5.703 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/1.03, allocations: 1.156 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/1.03, allocations: 10.06 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/1.03, allocations: 1.922 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/1.03, allocations: 5.812 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/1.03, allocations: 4.969 kB / 1.091 GB, free: 2.684 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 5.412e-05/1.03, allocations: 111.3 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/1.03, allocations: 11.75 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/1.03, allocations: 13.14 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.03, allocations: 1.094 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.03, allocations: 0.6094 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.03, allocations: 5.188 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/1.03, allocations: 470.5 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.03, allocations: 1.125 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/1.03, allocations: 8.016 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.03, allocations: 1.062 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/1.03, allocations: 0 / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.03, allocations: 1.656 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.03, allocations: 5.188 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.633e-05/1.031, allocations: 84.03 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/1.031, allocations: 94.62 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/1.031, allocations: 1.156 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/1.031, allocations: 1.094 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/1.031, allocations: 5.891 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/1.031, allocations: 5.438 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.658e-05/1.031, allocations: 121.6 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.031, allocations: 0 / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001944/1.031, allocations: 7.469 kB / 1.092 GB, free: 1.766 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.0001055/1.031, allocations: 102.5 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.167e-05/1.031, allocations: 23.75 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.031, allocations: 128 / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/1.031, allocations: 8.625 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/1.031, allocations: 11.19 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/1.032, allocations: 168.7 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/1.032, allocations: 0.6928 MB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.42e-05/1.032, allocations: 11.66 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/1.032, allocations: 11.12 kB / 1.093 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/1.032, allocations: 0 / 1.093 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of Templates: time 0.002584/1.034, allocations: 458.8 kB / 1.094 GB, free: 0.707 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