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.0006343/0.0006343, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007426/0.0007426, allocations: 173.9 kB / 23.21 MB, free: 1.336 MB / 18.57 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 0.8681/0.8681, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.813/1.813, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.114e-06/2.114e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.23e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003246/0.003278, allocations: 1.643 MB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5921/0.5954, allocations: 133.2 MB / 1.133 GB, free: 340 kB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.5955, allocations: 1.281 kB / 1.133 GB, free: 340 kB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.5956, allocations: 16.06 kB / 1.133 GB, free: 328 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.5959, allocations: 47.89 kB / 1.133 GB, free: 300 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.5962, allocations: 157.2 kB / 1.133 GB, free: 220 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.5963, allocations: 126.4 kB / 1.133 GB, free: 156 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.5965, allocations: 21.27 kB / 1.133 GB, free: 144 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008809/0.5973, allocations: 193.3 kB / 1.133 GB, free: 96 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.5974, allocations: 33.83 kB / 1.133 GB, free: 84 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.5974, allocations: 7.219 kB / 1.133 GB, free: 84 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.5977, allocations: 171.5 kB / 1.133 GB, free: 40 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.5978, allocations: 21.28 kB / 1.133 GB, free: 28 kB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.5978, allocations: 40.77 kB / 1.133 GB, free: 8 kB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.5981, allocations: 212.4 kB / 1.134 GB, free: 15.93 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5982, allocations: 0 / 1.134 GB, free: 15.93 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5982, allocations: 0 / 1.134 GB, free: 15.93 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5982, allocations: 1.344 kB / 1.134 GB, free: 15.93 MB / 1.01 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.0005001/0.5987, allocations: 372.1 kB / 1.134 GB, free: 15.61 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5987, allocations: 9.906 kB / 1.134 GB, free: 15.61 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005435/0.5992, allocations: 88.56 kB / 1.134 GB, free: 15.6 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.5994, allocations: 152 kB / 1.134 GB, free: 15.45 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.5994, allocations: 3.625 kB / 1.134 GB, free: 15.45 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.5995, allocations: 12.77 kB / 1.134 GB, free: 15.44 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.5998, allocations: 142 kB / 1.134 GB, free: 15.38 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5998, allocations: 0 / 1.134 GB, free: 15.38 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.5998, allocations: 1.438 kB / 1.134 GB, free: 15.38 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.5998, allocations: 1.5 kB / 1.134 GB, free: 15.38 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.6001, allocations: 139.9 kB / 1.134 GB, free: 15.35 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.6006, allocations: 333.8 kB / 1.135 GB, free: 15.09 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.6011, allocations: 165.8 kB / 1.135 GB, free: 15.03 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.6012, allocations: 73.75 kB / 1.135 GB, free: 15.01 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.6012, allocations: 9.281 kB / 1.135 GB, free: 15 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.6013, allocations: 36.59 kB / 1.135 GB, free: 14.96 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.6013, allocations: 0 / 1.135 GB, free: 14.96 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.0004878/0.6017, allocations: 213.9 kB / 1.135 GB, free: 14.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.6018, allocations: 53.5 kB / 1.135 GB, free: 14.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.6019, allocations: 135 kB / 1.135 GB, free: 14.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.6019, allocations: 27.39 kB / 1.135 GB, free: 14.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.6019, allocations: 107.8 kB / 1.136 GB, free: 14.58 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.602, allocations: 24.98 kB / 1.136 GB, free: 14.56 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.602, allocations: 28.64 kB / 1.136 GB, free: 14.54 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.6021, allocations: 324 kB / 1.136 GB, free: 14.21 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.6022, allocations: 51.42 kB / 1.136 GB, free: 14.21 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.6024, allocations: 130.9 kB / 1.136 GB, free: 14.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.6026, allocations: 120.9 kB / 1.136 GB, free: 14.07 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6026, allocations: 0 / 1.136 GB, free: 14.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002982/0.6029, allocations: 166.5 kB / 1.136 GB, free: 14 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.603, allocations: 9.75 kB / 1.136 GB, free: 14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.603, allocations: 0 / 1.136 GB, free: 14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.603, allocations: 1.953 kB / 1.136 GB, free: 14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.6031, allocations: 30.78 kB / 1.136 GB, free: 13.99 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6031, allocations: 1.734 kB / 1.136 GB, free: 13.99 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.6032, allocations: 18.69 kB / 1.136 GB, free: 13.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.6032, allocations: 11.3 kB / 1.136 GB, free: 13.98 MB / 1.01 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 7.678e-05/0.6033, allocations: 120.8 kB / 1.137 GB, free: 13.86 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.6033, allocations: 11.52 kB / 1.137 GB, free: 13.85 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.6033, allocations: 17.09 kB / 1.137 GB, free: 13.84 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6033, allocations: 2.031 kB / 1.137 GB, free: 13.84 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6033, allocations: 1.25 kB / 1.137 GB, free: 13.84 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6034, allocations: 0.6094 kB / 1.137 GB, free: 13.84 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.6039, allocations: 405.7 kB / 1.137 GB, free: 13.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6039, allocations: 1.281 kB / 1.137 GB, free: 13.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.604, allocations: 26.28 kB / 1.137 GB, free: 13.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.604, allocations: 5.281 kB / 1.137 GB, free: 13.55 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.604, allocations: 0.6562 kB / 1.137 GB, free: 13.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.604, allocations: 2.016 kB / 1.137 GB, free: 13.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.604, allocations: 4 kB / 1.137 GB, free: 13.54 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.6043, allocations: 256.2 kB / 1.137 GB, free: 13.38 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.6043, allocations: 12.45 kB / 1.137 GB, free: 13.37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.6043, allocations: 0.6562 kB / 1.137 GB, free: 13.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.6044, allocations: 21.7 kB / 1.137 GB, free: 13.36 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.6044, allocations: 10.25 kB / 1.137 GB, free: 13.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.6045, allocations: 3.312 kB / 1.137 GB, free: 13.36 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.6045, allocations: 107 kB / 1.137 GB, free: 13.28 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6045, allocations: 0 / 1.137 GB, free: 13.28 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001862/0.6047, allocations: 27.94 kB / 1.137 GB, free: 13.27 MB / 1.01 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.0001674/0.6049, allocations: 108.2 kB / 1.138 GB, free: 13.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.6052, allocations: 126.8 kB / 1.138 GB, free: 13.16 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6052, allocations: 0 / 1.138 GB, free: 13.16 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.6053, allocations: 67.19 kB / 1.138 GB, free: 13.14 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.6055, allocations: 43.11 kB / 1.138 GB, free: 13.12 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.606, allocations: 252.1 kB / 1.138 GB, free: 12.93 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.078e-05/0.6061, allocations: 88.45 kB / 1.138 GB, free: 12.86 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.6061, allocations: 18.48 kB / 1.138 GB, free: 12.85 MB / 1.01 GB Notification: Performance of SimCode: time 6.41e-07/0.6061, allocations: 0 / 1.138 GB, free: 12.85 MB / 1.01 GB Notification: Performance of Templates: time 0.002887/0.609, allocations: 1.723 MB / 1.14 GB, free: 12.73 MB / 1.01 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: 7.302198031917214]