Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.184/3.184, allocations: 496.2 MB / 0.7819 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.91 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432/1.434, allocations: 173.6 MB / 1.305 GB, free: 33.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002022/1.436, allocations: 0.8338 MB / 1.306 GB, free: 32.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001094/1.436, allocations: 44.73 kB / 1.306 GB, free: 32.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/1.436, allocations: 6.969 kB / 1.306 GB, free: 32.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/1.436, allocations: 7.875 kB / 1.306 GB, free: 32.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.912e-05/1.436, allocations: 11.06 kB / 1.306 GB, free: 32.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.654e-05/1.437, allocations: 18.38 kB / 1.306 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/1.437, allocations: 65.48 kB / 1.306 GB, free: 32.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/1.437, allocations: 28.08 kB / 1.306 GB, free: 32.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/1.437, allocations: 26.94 kB / 1.306 GB, free: 32.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/1.437, allocations: 27.95 kB / 1.306 GB, free: 32.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/1.437, allocations: 5.594 kB / 1.306 GB, free: 32.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/1.437, allocations: 8.031 kB / 1.306 GB, free: 32.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/1.437, allocations: 18.94 kB / 1.306 GB, free: 32.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/1.437, allocations: 36.83 kB / 1.307 GB, free: 32.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/1.437, allocations: 75.05 kB / 1.307 GB, free: 32.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.437, allocations: 3.938 kB / 1.307 GB, free: 32.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/1.437, allocations: 0 / 1.307 GB, free: 32.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.043e-06/1.437, allocations: 0 / 1.307 GB, free: 32.74 MB / 1.061 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.0004138/1.438, allocations: 379.8 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.438, allocations: 8.219 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/1.438, allocations: 14.66 kB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/1.438, allocations: 206.1 kB / 1.307 GB, free: 32.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/1.438, allocations: 3.188 kB / 1.307 GB, free: 32.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/1.438, allocations: 7.344 kB / 1.307 GB, free: 32.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/1.438, allocations: 90.06 kB / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.438, allocations: 192 / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.438, allocations: 7.938 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.438, allocations: 2.844 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/1.438, allocations: 39.3 kB / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/1.439, allocations: 441.8 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/1.439, allocations: 36.09 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/1.439, allocations: 19.94 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/1.439, allocations: 4 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/1.439, allocations: 36.55 kB / 1.308 GB, free: 31.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/1.439, allocations: 0 / 1.308 GB, free: 31.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001709/1.439, allocations: 57.06 kB / 1.308 GB, free: 31.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/1.439, allocations: 79.98 kB / 1.308 GB, free: 31.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/1.439, allocations: 159.4 kB / 1.308 GB, free: 31.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/1.439, allocations: 33.89 kB / 1.308 GB, free: 31.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/1.439, allocations: 109.7 kB / 1.308 GB, free: 31.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/1.439, allocations: 3.953 kB / 1.308 GB, free: 31.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/1.439, allocations: 23.45 kB / 1.308 GB, free: 31.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.781e-05/1.439, allocations: 317.7 kB / 1.309 GB, free: 30.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/1.439, allocations: 9.781 kB / 1.309 GB, free: 30.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/1.439, allocations: 23.36 kB / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/1.439, allocations: 26.25 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.439, allocations: 0 / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.66e-05/1.439, allocations: 65.8 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.439, allocations: 5.875 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.439, allocations: 3.938 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.439, allocations: 2.875 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/1.439, allocations: 9.484 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.439, allocations: 0 / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/1.439, allocations: 10.94 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/1.439, allocations: 0 / 1.309 GB, free: 30.64 MB / 1.061 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.5e-05/1.439, allocations: 116.7 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/1.44, allocations: 9.922 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/1.44, allocations: 17.83 kB / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.44, allocations: 0 / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.44, allocations: 0 / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.44, allocations: 0 / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/1.44, allocations: 477 kB / 1.309 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.44, allocations: 4 kB / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/1.44, allocations: 2.75 kB / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/1.44, allocations: 0 / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/1.44, allocations: 0 / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.44, allocations: 2.781 kB / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.44, allocations: 3.984 kB / 1.309 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.341e-05/1.44, allocations: 84.7 kB / 1.309 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/1.44, allocations: 90.2 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/1.44, allocations: 0 / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.775e-05/1.44, allocations: 0 / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/1.44, allocations: 6.625 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/1.44, allocations: 0 / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.157e-05/1.44, allocations: 125.5 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.44, allocations: 4.031 kB / 1.31 GB, free: 29.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001753/1.44, allocations: 8.25 kB / 1.31 GB, free: 29.72 MB / 1.061 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.0001122/1.44, allocations: 96.31 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000118/1.44, allocations: 13.31 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.44, allocations: 0 / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/1.441, allocations: 6.875 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/1.441, allocations: 16.94 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/1.441, allocations: 175 kB / 1.31 GB, free: 29.46 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/1.441, allocations: 0.6964 MB / 1.311 GB, free: 28.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.04e-05/1.441, allocations: 10.69 kB / 1.311 GB, free: 28.76 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/1.441, allocations: 13.16 kB / 1.311 GB, free: 28.75 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/1.441, allocations: 4 kB / 1.311 GB, free: 28.75 MB / 1.061 GB Notification: Performance of Templates: time 0.003068/1.444, allocations: 460.4 kB / 1.311 GB, free: 28.68 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.550481447018683]