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.008254/0.008254, allocations: 102.5 kB / 15.73 MB, free: 5.539 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.001498/0.001499, allocations: 190.3 kB / 16.67 MB, free: 5.477 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.433/1.433, allocations: 222.9 MB / 240.3 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.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 63.91 kB / 0.9509 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.003, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002618/1.006, allocations: 0.825 MB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001574/1.006, allocations: 40.72 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/1.006, allocations: 6.031 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.017e-05/1.006, allocations: 9.422 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/1.007, allocations: 6.109 kB / 1.089 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.401e-05/1.007, allocations: 20.53 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/1.007, allocations: 63.52 kB / 1.089 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/1.007, allocations: 41.17 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/1.007, allocations: 26.3 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/1.007, allocations: 29.8 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/1.007, allocations: 6.094 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/1.007, allocations: 6.594 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/1.007, allocations: 16.16 kB / 1.089 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/1.007, allocations: 36.41 kB / 1.089 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/1.007, allocations: 72.27 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/1.008, allocations: 0 / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/1.008, allocations: 7.938 kB / 1.089 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.174e-06/1.008, allocations: 0 / 1.089 GB, free: 4.73 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.0005126/1.008, allocations: 379.3 kB / 1.089 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.008, allocations: 9.438 kB / 1.089 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/1.008, allocations: 13.48 kB / 1.089 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/1.008, allocations: 192.2 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.008, allocations: 3.562 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/1.008, allocations: 9.5 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/1.009, allocations: 95.19 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.009, allocations: 192 / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/1.009, allocations: 6.016 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.009, allocations: 1.125 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/1.009, allocations: 39.92 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/1.009, allocations: 437.5 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.517e-05/1.009, allocations: 46.14 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/1.009, allocations: 16.28 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/1.009, allocations: 5.031 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.009, allocations: 36.19 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/1.009, allocations: 4 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002048/1.01, allocations: 57.33 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/1.01, allocations: 78.73 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/1.01, allocations: 158.6 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/1.01, allocations: 25.7 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/1.01, allocations: 108.3 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/1.01, allocations: 5.344 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/1.01, allocations: 22.7 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/1.01, allocations: 319.7 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/1.01, allocations: 4.734 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/1.01, allocations: 23.98 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/1.01, allocations: 22.42 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.01, allocations: 1.062 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.928e-05/1.01, allocations: 64.83 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.01, allocations: 6.453 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.01, allocations: 3.938 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.01, allocations: 0.9375 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/1.01, allocations: 11.17 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/1.01, allocations: 0.7969 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/1.011, allocations: 6.062 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/1.011, allocations: 2.031 kB / 1.091 GB, free: 2.664 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 7.232e-05/1.011, allocations: 118.5 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/1.011, allocations: 16.94 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/1.011, allocations: 16.67 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.011, allocations: 1.438 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.011, allocations: 0 / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.011, allocations: 1.062 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/1.011, allocations: 465.9 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.011, allocations: 5.25 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/1.011, allocations: 4.125 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.011, allocations: 1.062 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/1.011, allocations: 1.094 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.011, allocations: 0.7969 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.011, allocations: 5.062 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.424e-05/1.011, allocations: 80.56 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/1.011, allocations: 93.86 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/1.011, allocations: 1.688 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/1.011, allocations: 1.031 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/1.011, allocations: 10 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/1.011, allocations: 1.906 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.508e-05/1.011, allocations: 120.8 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.011, allocations: 0 / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001951/1.012, allocations: 6.812 kB / 1.092 GB, free: 1.742 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.0001214/1.012, allocations: 103.7 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001026/1.012, allocations: 20.11 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.012, allocations: 1 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/1.012, allocations: 8.453 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/1.012, allocations: 11.84 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/1.012, allocations: 164.5 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/1.013, allocations: 0.6972 MB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.21e-05/1.013, allocations: 6.188 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/1.013, allocations: 11.34 kB / 1.093 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of SimCode: time 5.92e-07/1.013, allocations: 0 / 1.093 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of Templates: time 0.003541/1.016, allocations: 479.4 kB / 1.094 GB, free: 0.6797 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