Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001233/0.001233, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.972/2.972, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005444/0.0005445, allocations: 9.125 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3974, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001751/0.3992, allocations: 1.206 MB / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.4004, allocations: 0.7522 MB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.4005, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.4005, allocations: 3.938 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.4006, allocations: 11.91 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.401, allocations: 107.6 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.467e-05/0.4011, allocations: 51.78 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.4012, allocations: 11.98 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.4013, allocations: 19.92 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.4014, allocations: 23.89 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.4014, allocations: 4 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.4017, allocations: 163.7 kB / 1.06 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.4018, allocations: 11.92 kB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.4018, allocations: 33.64 kB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.402, allocations: 108.1 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.402, allocations: 4 kB / 1.06 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.074e-06/0.402, allocations: 0 / 1.06 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.402, allocations: 0 / 1.06 GB, free: 2.828 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005537/0.4026, allocations: 411 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4026, allocations: 8.031 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.4027, allocations: 4 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.4028, allocations: 174.9 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.4028, allocations: 0 / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4028, allocations: 3.938 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.4031, allocations: 89.64 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4031, allocations: 0 / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4031, allocations: 4 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4032, allocations: 0 / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.4034, allocations: 87.92 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.4038, allocations: 292.6 kB / 1.061 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.404, allocations: 70.55 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.4042, allocations: 52.91 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.4044, allocations: 89.09 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4044, allocations: 42.5 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.4044, allocations: 3.938 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004958/0.4049, allocations: 165.5 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.405, allocations: 51.41 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.4051, allocations: 121.7 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.4051, allocations: 25.7 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.4051, allocations: 88.14 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.4052, allocations: 11.8 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.4052, allocations: 0 / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4053, allocations: 318.8 kB / 1.062 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.4054, allocations: 43.97 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.4056, allocations: 47.95 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.4057, allocations: 39.97 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4057, allocations: 0 / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003023/0.406, allocations: 121.6 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4061, allocations: 4 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4061, allocations: 7.938 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.4061, allocations: 0 / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.4062, allocations: 19.98 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4062, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.4063, allocations: 19.89 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.4063, allocations: 4 kB / 1.063 GB, free: 224 kB / 0.8106 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.97e-05/0.4064, allocations: 117.8 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.4064, allocations: 7.984 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.4068, allocations: 129.8 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.4069, allocations: 0 / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.4069, allocations: 48 / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4069, allocations: 3.984 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.4071, allocations: 173.6 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4071, allocations: 0 / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.056e-05/0.4072, allocations: 27.92 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.4072, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.4072, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.4072, allocations: 7.938 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4072, allocations: 0 / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.4076, allocations: 223.3 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.4076, allocations: 77.11 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.4076, allocations: 0 / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.4077, allocations: 19.98 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.4078, allocations: 7.984 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4078, allocations: 4 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.585e-05/0.4079, allocations: 91.27 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4079, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002682/0.4081, allocations: 43.78 kB / 1.064 GB, free: 15.2 MB / 0.8262 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002047/0.4083, allocations: 135.2 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.4087, allocations: 91.92 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4087, allocations: 0 / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.4088, allocations: 47.95 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.4091, allocations: 15.95 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.4095, allocations: 158.5 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.4098, allocations: 0.6887 MB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.4098, allocations: 11.98 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.4098, allocations: 11.44 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4098, allocations: 0 / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.003592/0.4134, allocations: 1.2 MB / 1.066 GB, free: 12.8 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches