Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.0019/0.0019, allocations: 75.77 kB / 20.23 MB, free: 4.164 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.002035/0.002035, allocations: 157.4 kB / 23.54 MB, free: 0.8555 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 1.546/1.546, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.991/2.991, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8108 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.274e-05, allocations: 4.844 kB / 0.8108 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002623/0.002656, allocations: 1.299 MB / 0.8121 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.004201, allocations: 0.8252 MB / 0.8129 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.00422, allocations: 0 / 0.8129 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.004239, allocations: 3.938 kB / 0.8129 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.004292, allocations: 8.797 kB / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.004807, allocations: 136 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.116e-05/0.004888, allocations: 25.61 kB / 0.813 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.004922, allocations: 3.984 kB / 0.813 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.519e-05/0.004987, allocations: 19.92 kB / 0.8131 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.005044, allocations: 7.984 kB / 0.8131 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.005062, allocations: 5.531 kB / 0.8131 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.00539, allocations: 159.7 kB / 0.8132 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.005413, allocations: 7.984 kB / 0.8132 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.005437, allocations: 4 kB / 0.8132 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.005741, allocations: 141 kB / 0.8134 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.005744, allocations: 0 / 0.8134 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005745, allocations: 0 / 0.8134 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.005749, allocations: 3.938 kB / 0.8134 GB, free: 14.34 MB / 0.7292 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.000518/0.006267, allocations: 385.8 kB / 0.8137 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.006308, allocations: 12.03 kB / 0.8138 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.006363, allocations: 12.89 kB / 0.8138 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.006483, allocations: 104.6 kB / 0.8139 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.4e-05/0.006577, allocations: 57.03 kB / 0.8139 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.006587, allocations: 384 / 0.8139 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.006738, allocations: 71.94 kB / 0.814 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.006748, allocations: 4.984 kB / 0.814 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.006759, allocations: 4.375 kB / 0.814 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.006766, allocations: 5.25 kB / 0.814 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.006856, allocations: 15.92 kB / 0.814 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.007043, allocations: 120.6 kB / 0.8141 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.00726, allocations: 53.56 kB / 0.8142 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.007312, allocations: 11.69 kB / 0.8142 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.007549, allocations: 28.06 kB / 0.8142 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.007583, allocations: 37.92 kB / 0.8143 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.007584, allocations: 0 / 0.8143 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002465/0.007831, allocations: 70.27 kB / 0.8143 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.007875, allocations: 51.94 kB / 0.8144 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.008, allocations: 165.9 kB / 0.8145 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.008021, allocations: 27.33 kB / 0.8146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.008089, allocations: 126.9 kB / 0.8147 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.008114, allocations: 11.91 kB / 0.8147 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.00816, allocations: 23.38 kB / 0.8147 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.008417, allocations: 492.8 kB / 0.8152 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.008466, allocations: 15.98 kB / 0.8152 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.175e-05/0.008498, allocations: 4.688 kB / 0.8152 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.348e-05/0.008582, allocations: 27.67 kB / 0.8152 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008584, allocations: 0.6875 kB / 0.8152 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001344/0.008718, allocations: 62.45 kB / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.00873, allocations: 4 kB / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.008734, allocations: 0 / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.008746, allocations: 0.8125 kB / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.117e-05/0.008797, allocations: 11.98 kB / 0.8153 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.008804, allocations: 4.875 kB / 0.8153 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.008828, allocations: 0 / 0.8153 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.008842, allocations: 11.98 kB / 0.8153 GB, free: 12.13 MB / 0.7292 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.000113/0.008955, allocations: 157.8 kB / 0.8155 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.008971, allocations: 4 kB / 0.8155 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.009139, allocations: 66.66 kB / 0.8155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.009141, allocations: 0 / 0.8155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.009144, allocations: 2.219 kB / 0.8155 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.009154, allocations: 3.938 kB / 0.8156 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.009279, allocations: 120.7 kB / 0.8157 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.009283, allocations: 3.984 kB / 0.8157 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.009323, allocations: 4 kB / 0.8157 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.009325, allocations: 0 / 0.8157 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.009336, allocations: 7.094 kB / 0.8157 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.009337, allocations: 0 / 0.8157 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009338, allocations: 0 / 0.8157 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.009515, allocations: 104.2 kB / 0.8158 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.00955, allocations: 7.938 kB / 0.8158 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.009563, allocations: 3.984 kB / 0.8158 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.692e-05/0.0096, allocations: 3.938 kB / 0.8158 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.00964, allocations: 8 kB / 0.8158 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.009645, allocations: 0 / 0.8158 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.009721, allocations: 132.4 kB / 0.8159 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009721, allocations: 0 / 0.8159 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002235/0.009944, allocations: 31.88 kB / 0.816 GB, free: 11.42 MB / 0.7292 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.0002648/0.01021, allocations: 144.3 kB / 0.8161 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.01035, allocations: 32.86 kB / 0.8161 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01035, allocations: 0 / 0.8161 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.736e-05/0.01041, allocations: 23.61 kB / 0.8162 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.01059, allocations: 9.031 kB / 0.8162 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.0109, allocations: 132.6 kB / 0.8163 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.01096, allocations: 60.02 kB / 0.8163 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.011, allocations: 6.938 kB / 0.8163 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.01103, allocations: 8.5 kB / 0.8164 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.01103, allocations: 1.125 kB / 0.8164 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.004443/0.01547, allocations: 1.161 MB / 0.8175 GB, free: 9.812 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.79364932095632]