Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001105/0.001105, allocations: 98.72 kB / 16.02 MB, free: 76 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.001544/0.001544, allocations: 185 kB / 16.92 MB, free: 6.895 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.866/2.866, allocations: 462.7 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 9.781 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3291, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001085/0.3302, allocations: 0.5453 MB / 1.06 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001385/0.3304, allocations: 35.8 kB / 1.06 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.3304, allocations: 4 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.3305, allocations: 7.922 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.477e-05/0.3306, allocations: 7.984 kB / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.037e-05/0.3306, allocations: 15.98 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3308, allocations: 59.7 kB / 1.06 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3309, allocations: 43.95 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.784e-05/0.331, allocations: 15.88 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.3311, allocations: 19.86 kB / 1.06 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3311, allocations: 0 / 1.06 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.3311, allocations: 7.938 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.3311, allocations: 15.88 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.3312, allocations: 53.44 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.26e-05/0.3313, allocations: 52.16 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3313, allocations: 0 / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3313, allocations: 0 / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3313, allocations: 0 / 1.06 GB, free: 4.098 MB / 0.8106 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.0004216/0.3317, allocations: 367.3 kB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3318, allocations: 8.031 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.3318, allocations: 8.844 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3321, allocations: 196.2 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3321, allocations: 8.375 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3321, allocations: 4.375 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3323, allocations: 95.89 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3323, allocations: 192 / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.3323, allocations: 11.92 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3324, allocations: 0 / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.3324, allocations: 39.92 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.333, allocations: 436.6 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.87e-05/0.3331, allocations: 45.17 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.3331, allocations: 25.84 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.3332, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3332, allocations: 30.56 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3332, allocations: 0 / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001851/0.3334, allocations: 61.47 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3334, allocations: 81.36 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3336, allocations: 163.7 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3336, allocations: 25.7 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.3337, allocations: 103.9 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.3337, allocations: 3.984 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.3337, allocations: 17.72 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3338, allocations: 314.8 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.3339, allocations: 11.92 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.3339, allocations: 21.72 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.3339, allocations: 25.66 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3339, allocations: 4 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.1e-05/0.334, allocations: 61.53 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3341, allocations: 5.875 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3341, allocations: 3.938 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3341, allocations: 4 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.3342, allocations: 12 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3342, allocations: 0 / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.3342, allocations: 11.84 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.3342, allocations: 0 / 1.062 GB, free: 1.672 MB / 0.8106 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 7.472e-05/0.3343, allocations: 113.8 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.3343, allocations: 11.89 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.3344, allocations: 19.81 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3344, allocations: 0 / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3344, allocations: 0 / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3344, allocations: 4 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.3348, allocations: 466.8 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3348, allocations: 0 / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.3348, allocations: 4 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3348, allocations: 0 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3348, allocations: 4 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3348, allocations: 3.984 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3349, allocations: 4 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.69e-05/0.3349, allocations: 81.84 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.335, allocations: 89 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.335, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.335, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.3351, allocations: 4 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.3351, allocations: 4.031 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.396e-05/0.3352, allocations: 126.1 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3352, allocations: 0 / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001921/0.3354, allocations: 11.91 kB / 1.063 GB, free: 0.6328 MB / 0.8106 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.0001229/0.3355, allocations: 95.25 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.3356, allocations: 19.92 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3356, allocations: 3.938 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/0.3357, allocations: 12.12 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.3358, allocations: 7.938 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.3362, allocations: 202.2 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3365, allocations: 0.7006 MB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.3365, allocations: 11.44 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3365, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.002438/0.339, allocations: 0.8521 MB / 1.065 GB, free: 14.65 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches