Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.01297/0.01297, allocations: 105.9 kB / 15.73 MB, free: 6 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.002585/0.002585, allocations: 189 kB / 16.67 MB, free: 5.926 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.279/2.279, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 0.9509 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 140.4 MB / 1.088 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002776/1.044, allocations: 0.8189 MB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001455/1.045, allocations: 44.95 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/1.045, allocations: 1.125 kB / 1.089 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.579e-05/1.045, allocations: 9.281 kB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/1.045, allocations: 10.12 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.783e-05/1.045, allocations: 17.69 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/1.045, allocations: 63.28 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/1.045, allocations: 36.88 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/1.045, allocations: 31.14 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/1.045, allocations: 29.56 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/1.045, allocations: 6.594 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/1.045, allocations: 6.156 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/1.046, allocations: 24.41 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/1.046, allocations: 32.83 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/1.046, allocations: 73.42 kB / 1.089 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.046, allocations: 0 / 1.089 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.535e-06/1.046, allocations: 0.5625 kB / 1.089 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.046, allocations: 1.062 kB / 1.089 GB, free: 4.805 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.000457/1.046, allocations: 373.1 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.046, allocations: 11.2 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/1.046, allocations: 12.94 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/1.047, allocations: 200.5 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/1.047, allocations: 2.969 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/1.047, allocations: 9.688 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/1.047, allocations: 91.25 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.047, allocations: 4.125 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/1.047, allocations: 8.812 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/1.047, allocations: 2.094 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.306e-05/1.047, allocations: 40.34 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/1.047, allocations: 441.7 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.645e-05/1.048, allocations: 41.95 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/1.048, allocations: 21.05 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/1.048, allocations: 4 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/1.048, allocations: 33.45 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.305e-06/1.048, allocations: 3.984 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001927/1.048, allocations: 60.39 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/1.048, allocations: 78.17 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/1.048, allocations: 155.5 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/1.048, allocations: 29.7 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/1.048, allocations: 108.4 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/1.048, allocations: 5.391 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/1.048, allocations: 18.28 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/1.048, allocations: 315.6 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/1.048, allocations: 8.609 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/1.048, allocations: 20.59 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/1.048, allocations: 30.41 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.048, allocations: 0 / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.938e-05/1.048, allocations: 61.08 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.048, allocations: 5.828 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.048, allocations: 4.562 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.049, allocations: 1.406 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/1.049, allocations: 6.797 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.049, allocations: 0.9375 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/1.049, allocations: 10.16 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/1.049, allocations: 1.469 kB / 1.091 GB, free: 2.73 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 9.065e-05/1.049, allocations: 113.8 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/1.049, allocations: 8.797 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/1.049, allocations: 12.84 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.049, allocations: 1 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.049, allocations: 0 / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.049, allocations: 1.641 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/1.049, allocations: 479.3 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.049, allocations: 0 / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/1.049, allocations: 3.219 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.049, allocations: 5.688 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/1.049, allocations: 5 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.049, allocations: 1.188 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.049, allocations: 4.641 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/1.05, allocations: 84.5 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/1.05, allocations: 90.88 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/1.05, allocations: 1.156 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/1.05, allocations: 1.688 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/1.05, allocations: 1.672 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/1.05, allocations: 1.062 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001319/1.05, allocations: 125.9 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.05, allocations: 0 / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001951/1.05, allocations: 10.81 kB / 1.092 GB, free: 1.809 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.000187/1.05, allocations: 98.41 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001322/1.05, allocations: 23.8 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.05, allocations: 0 / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/1.05, allocations: 4.766 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/1.051, allocations: 15.5 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/1.051, allocations: 172.3 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/1.051, allocations: 0.6917 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.357e-05/1.051, allocations: 7.469 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/1.051, allocations: 10.88 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/1.051, allocations: 4.75 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.003481/1.055, allocations: 464.7 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches