Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_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_latest_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.009603/0.009603, allocations: 105.9 kB / 15.73 MB, free: 6 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.001931/0.001931, allocations: 189 kB / 16.67 MB, free: 5.926 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.945/0.9464, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00221/0.9487, allocations: 1.278 MB / 1.209 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.95, allocations: 0.8216 MB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.105e-05/0.95, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.95, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.9501, allocations: 7.875 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.9506, allocations: 131.4 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.9507, allocations: 23.92 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.9507, allocations: 4 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.9508, allocations: 12 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.9508, allocations: 15.92 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.9509, allocations: 0 / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.9512, allocations: 167.7 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.9512, allocations: 8 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.9512, allocations: 11.92 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.9515, allocations: 119.5 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.9515, allocations: 7.922 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9515, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9515, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 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.0004665/0.952, allocations: 361.5 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.952, allocations: 8.031 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.9521, allocations: 8.844 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.9522, allocations: 172.3 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/0.9523, allocations: 38.27 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.9523, allocations: 384 / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.9524, allocations: 42.25 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.9525, allocations: 3.938 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.9525, allocations: 4 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.9525, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.679e-05/0.9526, allocations: 19.98 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.9528, allocations: 157.6 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.953, allocations: 50.55 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.9531, allocations: 16.94 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.9534, allocations: 186.2 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.9535, allocations: 30.56 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.9535, allocations: 3.938 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002551/0.9537, allocations: 69.61 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.9538, allocations: 51.41 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.9539, allocations: 105.8 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.9539, allocations: 25.7 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.954, allocations: 84.14 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.954, allocations: 15.8 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.954, allocations: 17.72 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9542, allocations: 310.8 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.9542, allocations: 7.984 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/0.9543, allocations: 12 kB / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/0.9544, allocations: 28.84 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9544, allocations: 0 / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.9545, allocations: 62.14 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.9545, allocations: 7.938 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.9546, allocations: 3.938 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9546, allocations: 0 / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.321e-05/0.9546, allocations: 8 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.9546, allocations: 0 / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.9547, allocations: 11.94 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.9547, allocations: 7.984 kB / 1.212 GB, free: 8.883 MB / 0.9356 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 8.759e-05/0.9548, allocations: 109.8 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.9548, allocations: 3.938 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.955, allocations: 69.11 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.955, allocations: 0 / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.955, allocations: 0 / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.955, allocations: 0 / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.9552, allocations: 161.6 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9552, allocations: 4 kB / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.9552, allocations: 7.984 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.9552, allocations: 7.938 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.9552, allocations: 0 / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.9553, allocations: 0 / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9553, allocations: 0 / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.9554, allocations: 81.11 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.9555, allocations: 88.95 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.9556, allocations: 19.88 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.9556, allocations: 0 / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.9557, allocations: 7.984 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.9557, allocations: 0 / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.9557, allocations: 79.28 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.664e-06/0.9557, allocations: 0 / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002273/0.9559, allocations: 35.92 kB / 1.213 GB, free: 8.113 MB / 0.9356 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 (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 Backend phase and start with SimCode phase: time 0.0002498/0.9562, allocations: 139.2 kB / 1.213 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000168/0.9564, allocations: 27.97 kB / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9564, allocations: 0 / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.386e-05/0.9564, allocations: 16 kB / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.9567, allocations: 5.703 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.9571, allocations: 135.1 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.9574, allocations: 0.6807 MB / 1.214 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.9574, allocations: 0 / 1.214 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.9574, allocations: 11.44 kB / 1.214 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.9575, allocations: 0 / 1.214 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of Templates: time 0.003423/0.9609, allocations: 1.071 MB / 1.215 GB, free: 5.977 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches