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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 59.91 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 173.7 MB / 1.305 GB, free: 33.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002349/1.027, allocations: 1.512 MB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001031/1.028, allocations: 0.8188 MB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/1.029, allocations: 0 / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/1.029, allocations: 3.938 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/1.029, allocations: 10.69 kB / 1.308 GB, free: 31.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/1.029, allocations: 136 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/1.029, allocations: 50.33 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/1.029, allocations: 21.11 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/1.029, allocations: 19.88 kB / 1.308 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.361e-05/1.029, allocations: 28.39 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/1.029, allocations: 5.812 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/1.03, allocations: 171.6 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/1.03, allocations: 10.31 kB / 1.308 GB, free: 31.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/1.03, allocations: 21.47 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/1.03, allocations: 152.6 kB / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.03, allocations: 0 / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.03, allocations: 0 / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.909e-06/1.03, allocations: 0 / 1.308 GB, free: 31.59 MB / 1.061 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.0004739/1.03, allocations: 399.6 kB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/1.03, allocations: 8.438 kB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/1.03, allocations: 7.328 kB / 1.309 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/1.03, allocations: 174.4 kB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.03, allocations: 7.375 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/1.03, allocations: 384 / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/1.031, allocations: 73.98 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.031, allocations: 192 / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/1.031, allocations: 3.938 kB / 1.309 GB, free: 30.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/1.031, allocations: 0 / 1.309 GB, free: 30.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/1.031, allocations: 74.7 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/1.031, allocations: 290.2 kB / 1.309 GB, free: 30.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/1.031, allocations: 59.94 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/1.032, allocations: 44.41 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/1.032, allocations: 89.06 kB / 1.309 GB, free: 30.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/1.032, allocations: 30.56 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/1.032, allocations: 0 / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004626/1.032, allocations: 133.3 kB / 1.31 GB, free: 30.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/1.032, allocations: 51.41 kB / 1.31 GB, free: 30.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/1.032, allocations: 117.8 kB / 1.31 GB, free: 30.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/1.032, allocations: 28.33 kB / 1.31 GB, free: 30.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/1.032, allocations: 94.91 kB / 1.31 GB, free: 30.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/1.032, allocations: 6.812 kB / 1.31 GB, free: 30.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/1.032, allocations: 12.69 kB / 1.31 GB, free: 30.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.202e-05/1.032, allocations: 328.4 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/1.033, allocations: 30.08 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/1.033, allocations: 31.59 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/1.033, allocations: 73.09 kB / 1.31 GB, free: 29.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.033, allocations: 0 / 1.31 GB, free: 29.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002595/1.033, allocations: 104.5 kB / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.033, allocations: 5.875 kB / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.033, allocations: 0 / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/1.033, allocations: 4 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.033, allocations: 19.09 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.033, allocations: 3.609 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/1.033, allocations: 9.156 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/1.033, allocations: 2.594 kB / 1.31 GB, free: 29.67 MB / 1.061 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/1.033, allocations: 116.5 kB / 1.311 GB, free: 29.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/1.034, allocations: 6.703 kB / 1.311 GB, free: 29.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/1.034, allocations: 115.9 kB / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.034, allocations: 0 / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/1.034, allocations: 0 / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/1.034, allocations: 0 / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/1.034, allocations: 172.4 kB / 1.311 GB, free: 29.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.034, allocations: 0 / 1.311 GB, free: 29.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.343e-05/1.034, allocations: 18.53 kB / 1.311 GB, free: 29.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/1.034, allocations: 3.938 kB / 1.311 GB, free: 29.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/1.034, allocations: 4 kB / 1.311 GB, free: 29.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.034, allocations: 0 / 1.311 GB, free: 29.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.034, allocations: 2.938 kB / 1.311 GB, free: 29.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/1.034, allocations: 195.3 kB / 1.311 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/1.034, allocations: 91.12 kB / 1.311 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/1.034, allocations: 4.047 kB / 1.311 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/1.034, allocations: 13.05 kB / 1.311 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/1.035, allocations: 10.16 kB / 1.311 GB, free: 29.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/1.035, allocations: 2.875 kB / 1.311 GB, free: 29.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.421e-05/1.035, allocations: 90.95 kB / 1.311 GB, free: 28.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.035, allocations: 0 / 1.311 GB, free: 28.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000268/1.035, allocations: 25.81 kB / 1.311 GB, free: 28.93 MB / 1.061 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 (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.000184/1.035, allocations: 135.5 kB / 1.311 GB, free: 28.83 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003207/1.035, allocations: 66.8 kB / 1.312 GB, free: 28.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.035, allocations: 0 / 1.312 GB, free: 28.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/1.035, allocations: 41.12 kB / 1.312 GB, free: 28.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/1.036, allocations: 14.62 kB / 1.312 GB, free: 28.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/1.036, allocations: 165.8 kB / 1.312 GB, free: 28.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/1.036, allocations: 0.6844 MB / 1.312 GB, free: 27.96 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.245e-05/1.036, allocations: 2.938 kB / 1.312 GB, free: 27.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/1.036, allocations: 10.34 kB / 1.312 GB, free: 27.96 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.036, allocations: 4 kB / 1.312 GB, free: 27.95 MB / 1.061 GB Notification: Performance of Templates: time 0.004065/1.04, allocations: 1.385 MB / 1.314 GB, free: 27.81 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.217650902457535]