Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 117.1 kB / 16.42 MB, free: 6.504 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.001791/0.001791, allocations: 186.5 kB / 17.35 MB, free: 5.758 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.501/1.501, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9491/0.9507, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003247/0.954, allocations: 1.268 MB / 1.169 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.9557, allocations: 0.8288 MB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.9558, allocations: 0 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.9558, allocations: 3.938 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.9559, allocations: 7.922 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.9568, allocations: 131.5 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.9569, allocations: 27.86 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.577e-05/0.957, allocations: 0 / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.9571, allocations: 15.92 kB / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.9572, allocations: 8 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.9572, allocations: 0 / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.9578, allocations: 167.8 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.9578, allocations: 7.922 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.9578, allocations: 11.94 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.9583, allocations: 120.2 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.9583, allocations: 0 / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.376e-06/0.9583, allocations: 4 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.9584, allocations: 0 / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006787/0.959, allocations: 367.2 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.9591, allocations: 8.922 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.9592, allocations: 8.891 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.9594, allocations: 168.3 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.9595, allocations: 30.27 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.9595, allocations: 384 / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.9597, allocations: 50.23 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.9597, allocations: 3.938 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.9597, allocations: 4 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.9597, allocations: 4 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.887e-05/0.9599, allocations: 19.92 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.9601, allocations: 153.7 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.9604, allocations: 46.56 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.9604, allocations: 20.86 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.9608, allocations: 178.3 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.9608, allocations: 30.56 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.9609, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0003094/0.9612, allocations: 77.53 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.9612, allocations: 55.41 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.9613, allocations: 101.8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.9614, allocations: 25.7 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.9614, allocations: 80.14 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.9615, allocations: 19.89 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.9615, allocations: 17.7 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.9617, allocations: 310.8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.9617, allocations: 12 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.9618, allocations: 11.98 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.552e-05/0.9619, allocations: 28.84 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9619, allocations: 0 / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001417/0.962, allocations: 57.62 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.9621, allocations: 4 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9621, allocations: 3.938 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.9621, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.9622, allocations: 15.98 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.9622, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.9622, allocations: 7.953 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.9622, allocations: 7.938 kB / 1.172 GB, free: 15.09 MB / 0.9044 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 (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 0.0001025/0.9624, allocations: 105.8 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.9624, allocations: 0 / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.9626, allocations: 80.97 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9626, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9626, allocations: 7.984 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.9627, allocations: 89.05 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.9627, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.9628, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.9628, allocations: 7.984 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002038/0.9631, allocations: 133 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002582/0.9633, allocations: 243.2 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.384e-05/0.9634, allocations: 16.03 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.9635, allocations: 83.27 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of Backend: time 4.81e-07/0.9635, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007057/0.9642, allocations: 148.5 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006165/0.9648, allocations: 0.5703 MB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.005127/0.9699, allocations: 1.397 MB / 1.174 GB, free: 12.11 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches