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.001054/0.001054, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001626/0.001626, allocations: 185 kB / 24.09 MB, free: 424 kB / 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.988/0.988, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.931/1.931, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] 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.614e-06/1.614e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.79e-05, allocations: 3.062 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00163/0.001648, allocations: 1.317 MB / 0.8133 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.00266, allocations: 0.8219 MB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.002682, allocations: 0 / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.002703, allocations: 3.938 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.035e-05/0.002754, allocations: 13.61 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.003177, allocations: 132.8 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.766e-05/0.003245, allocations: 27.86 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.003279, allocations: 7.984 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.003337, allocations: 19.92 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.003389, allocations: 5.062 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.003403, allocations: 0 / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.003617, allocations: 163.7 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.003633, allocations: 5.531 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.003649, allocations: 8 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.003835, allocations: 131.6 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.003839, allocations: 4 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00384, allocations: 4.656 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.003843, allocations: 3.938 kB / 0.8146 GB, free: 14.79 MB / 0.7761 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.0003471/0.00419, allocations: 396.8 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.004227, allocations: 13.64 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.004255, allocations: 4.938 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.03e-05/0.004325, allocations: 108.6 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.004382, allocations: 55.97 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.00439, allocations: 5 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.936e-05/0.00449, allocations: 77.34 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004496, allocations: 192 / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.004503, allocations: 5.062 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004508, allocations: 4.125 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.51e-05/0.004534, allocations: 12.8 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.004636, allocations: 97.27 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.004766, allocations: 44.47 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.004782, allocations: 11.69 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.004918, allocations: 29.81 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.004942, allocations: 37.39 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.004943, allocations: 0 / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001147/0.005058, allocations: 60.67 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.005083, allocations: 51.41 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.00515, allocations: 161.9 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.005161, allocations: 25.7 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.005192, allocations: 126.9 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.00522, allocations: 11.91 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.005249, allocations: 23.38 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.005372, allocations: 0.4922 MB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.005383, allocations: 9.219 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-06/0.005391, allocations: 0 / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.005419, allocations: 20.77 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.005422, allocations: 4 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.215e-05/0.005474, allocations: 50.19 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.005485, allocations: 4.812 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005489, allocations: 0 / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.0055, allocations: 1.125 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.068e-05/0.00553, allocations: 11.98 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.005533, allocations: 0 / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.005547, allocations: 10.34 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.005551, allocations: 4 kB / 0.8165 GB, free: 12.65 MB / 0.7761 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 6.213e-05/0.005613, allocations: 156.6 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/0.00562, allocations: 4 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.071e-05/0.0057, allocations: 61.28 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.005702, allocations: 0 / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.005704, allocations: 0.5312 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005707, allocations: 0 / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.573e-05/0.005773, allocations: 110 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.005774, allocations: 0 / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.005792, allocations: 8.922 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005794, allocations: 0 / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.005798, allocations: 5.219 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.005799, allocations: 0 / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.0058, allocations: 0 / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.631e-05/0.005866, allocations: 93.14 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.005887, allocations: 3.984 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.005897, allocations: 8 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.685e-05/0.005914, allocations: 6.219 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.005939, allocations: 0 / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.005943, allocations: 4 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.2e-05/0.005975, allocations: 123.2 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005975, allocations: 0 / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000158/0.006133, allocations: 31.88 kB / 0.8171 GB, free: 11.98 MB / 0.7761 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.000146/0.006279, allocations: 152.1 kB / 0.8172 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.805e-05/0.006337, allocations: 24.7 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.006338, allocations: 0 / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.006356, allocations: 20.75 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.00648, allocations: 19.86 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.006876, allocations: 124.5 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.913e-05/0.006905, allocations: 55.22 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.006931, allocations: 6.844 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.006988, allocations: 83.38 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.006988, allocations: 0 / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of Templates: time 0.002577/0.009566, allocations: 1.299 MB / 0.8188 GB, free: 10.17 MB / 0.7761 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.111676361877471]