Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 80.28 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002988/0.002988, allocations: 165 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.957/2.957, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.572e-06, allocations: 4 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/4.191e-05, allocations: 6.219 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00309/0.003132, allocations: 1.635 MB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.6945/0.6976, allocations: 133.2 MB / 1.132 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.6977, allocations: 3.562 kB / 1.132 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.6979, allocations: 15.09 kB / 1.132 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.6981, allocations: 44.7 kB / 1.132 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.6986, allocations: 150.6 kB / 1.132 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.6987, allocations: 129.2 kB / 1.132 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.6988, allocations: 26.3 kB / 1.132 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.7002, allocations: 193.7 kB / 1.132 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.7003, allocations: 37.67 kB / 1.132 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.7003, allocations: 6.938 kB / 1.132 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.7006, allocations: 181.2 kB / 1.133 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.7006, allocations: 21.38 kB / 1.133 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.7007, allocations: 28.81 kB / 1.133 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.701, allocations: 211.7 kB / 1.133 GB, free: 45.27 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.701, allocations: 0 / 1.133 GB, free: 45.27 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.102e-06/0.701, allocations: 0.6562 kB / 1.133 GB, free: 45.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.701, allocations: 0 / 1.133 GB, free: 45.27 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000539/0.7015, allocations: 374.2 kB / 1.133 GB, free: 44.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.7016, allocations: 12.23 kB / 1.133 GB, free: 44.96 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.7026, allocations: 82.47 kB / 1.133 GB, free: 44.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.7028, allocations: 155 kB / 1.133 GB, free: 44.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.7028, allocations: 6.656 kB / 1.133 GB, free: 44.81 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.7028, allocations: 11.98 kB / 1.133 GB, free: 44.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.7032, allocations: 130.6 kB / 1.134 GB, free: 44.78 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7032, allocations: 3.781 kB / 1.134 GB, free: 44.78 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.7033, allocations: 5.844 kB / 1.134 GB, free: 44.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7033, allocations: 0.875 kB / 1.134 GB, free: 44.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005481/0.7038, allocations: 139.6 kB / 1.134 GB, free: 44.78 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.7045, allocations: 335.1 kB / 1.134 GB, free: 44.57 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.7051, allocations: 164.4 kB / 1.134 GB, free: 44.55 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.7054, allocations: 73.12 kB / 1.134 GB, free: 44.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.7054, allocations: 3.828 kB / 1.134 GB, free: 44.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.7054, allocations: 38.41 kB / 1.134 GB, free: 44.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.7054, allocations: 2.844 kB / 1.134 GB, free: 44.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0008082/0.7062, allocations: 207.6 kB / 1.134 GB, free: 44.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.7063, allocations: 58.53 kB / 1.135 GB, free: 44.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.7063, allocations: 140.9 kB / 1.135 GB, free: 44.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.7064, allocations: 26.39 kB / 1.135 GB, free: 44.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.7064, allocations: 108 kB / 1.135 GB, free: 44.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.7064, allocations: 26.28 kB / 1.135 GB, free: 44.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.7065, allocations: 28.28 kB / 1.135 GB, free: 44.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.103e-05/0.7065, allocations: 320.2 kB / 1.135 GB, free: 43.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.7067, allocations: 52.98 kB / 1.135 GB, free: 43.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.707, allocations: 134 kB / 1.135 GB, free: 43.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.7074, allocations: 120.4 kB / 1.135 GB, free: 43.74 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7074, allocations: 0 / 1.135 GB, free: 43.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004886/0.7079, allocations: 157.9 kB / 1.136 GB, free: 43.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.7079, allocations: 6.156 kB / 1.136 GB, free: 43.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.7079, allocations: 0 / 1.136 GB, free: 43.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.708, allocations: 1.531 kB / 1.136 GB, free: 43.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.7082, allocations: 39.16 kB / 1.136 GB, free: 43.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.7082, allocations: 0 / 1.136 GB, free: 43.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.7083, allocations: 21.86 kB / 1.136 GB, free: 43.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.7083, allocations: 3.344 kB / 1.136 GB, free: 43.7 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 6.895e-05/0.7084, allocations: 118.5 kB / 1.136 GB, free: 43.58 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.7084, allocations: 13.08 kB / 1.136 GB, free: 43.58 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.7085, allocations: 16.53 kB / 1.136 GB, free: 43.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.7085, allocations: 0.8125 kB / 1.136 GB, free: 43.58 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7085, allocations: 4.438 kB / 1.136 GB, free: 43.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.7085, allocations: 0.5625 kB / 1.136 GB, free: 43.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.7092, allocations: 391.8 kB / 1.136 GB, free: 43.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7092, allocations: 7.609 kB / 1.136 GB, free: 43.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.7094, allocations: 31.31 kB / 1.136 GB, free: 43.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.7094, allocations: 0 / 1.136 GB, free: 43.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.7094, allocations: 9 kB / 1.136 GB, free: 43.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7094, allocations: 1.062 kB / 1.136 GB, free: 43.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7094, allocations: 0 / 1.136 GB, free: 43.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.7099, allocations: 257.4 kB / 1.136 GB, free: 43.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.71, allocations: 10.77 kB / 1.136 GB, free: 43.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.71, allocations: 13.31 kB / 1.136 GB, free: 43.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.7102, allocations: 16.86 kB / 1.137 GB, free: 43.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.7102, allocations: 4.219 kB / 1.137 GB, free: 43.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.7102, allocations: 7.328 kB / 1.137 GB, free: 43.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.7103, allocations: 103.8 kB / 1.137 GB, free: 43.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.7103, allocations: 1.062 kB / 1.137 GB, free: 43.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000272/0.7105, allocations: 33.97 kB / 1.137 GB, free: 43.12 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001426/0.7107, allocations: 111.3 kB / 1.137 GB, free: 43.03 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.7112, allocations: 121.8 kB / 1.137 GB, free: 43.03 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7112, allocations: 1.125 kB / 1.137 GB, free: 43.03 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.7114, allocations: 65.28 kB / 1.137 GB, free: 43.03 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.7118, allocations: 33.16 kB / 1.137 GB, free: 43.03 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.7123, allocations: 230.8 kB / 1.137 GB, free: 42.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.413e-05/0.7123, allocations: 88.11 kB / 1.137 GB, free: 42.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.7125, allocations: 23.95 kB / 1.137 GB, free: 42.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.7125, allocations: 18.78 kB / 1.137 GB, free: 42.81 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.7125, allocations: 2.656 kB / 1.137 GB, free: 42.81 MB / 1.076 GB Notification: Performance of Templates: time 0.004772/0.7173, allocations: 1.95 MB / 1.139 GB, free: 42.71 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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: 9.08093985170126]