Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001669/0.001669, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002718/0.002718, allocations: 222.3 kB / 23 MB, free: 4.91 MB / 14.72 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476 MB / 0.7707 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 65.67 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3535, allocations: 170 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003441/0.3569, allocations: 1.29 MB / 1.285 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3586, allocations: 0.7653 MB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.3587, allocations: 0 / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.3587, allocations: 3.938 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.3588, allocations: 3.984 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.3594, allocations: 135.4 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.3595, allocations: 31.8 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.3595, allocations: 3.984 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.3596, allocations: 8 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.903e-05/0.3597, allocations: 19.91 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3597, allocations: 0 / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.3601, allocations: 151.8 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.3601, allocations: 7.984 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.3601, allocations: 11.98 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.3604, allocations: 123.6 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.3604, allocations: 4 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3604, allocations: 0 / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3604, allocations: 3.938 kB / 1.286 GB, free: 9.414 MB / 0.9825 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.000611/0.361, allocations: 290 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3611, allocations: 8.031 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.3611, allocations: 8.938 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.3612, allocations: 110.5 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.3614, allocations: 59.95 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3614, allocations: 8.375 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.3616, allocations: 67.95 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3616, allocations: 3.938 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3616, allocations: 0 / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3616, allocations: 0 / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3617, allocations: 19.92 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.3619, allocations: 101.4 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.3622, allocations: 50.55 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.638e-05/0.3622, allocations: 16.86 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.3625, allocations: 24.06 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3625, allocations: 34.56 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3625, allocations: 0 / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002958/0.3628, allocations: 77.5 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.3629, allocations: 51.41 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.363, allocations: 102 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.363, allocations: 29.7 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.363, allocations: 80.14 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.3631, allocations: 11.91 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.3631, allocations: 17.72 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.3633, allocations: 314.8 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.3634, allocations: 8 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.633e-05/0.3634, allocations: 16.16 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3636, allocations: 32.78 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3636, allocations: 0 / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/0.3637, allocations: 61.62 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3637, allocations: 4 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.3637, allocations: 0 / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.3637, allocations: 3.938 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.286e-05/0.3638, allocations: 8 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3638, allocations: 3.984 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.3638, allocations: 0 / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3638, allocations: 4 kB / 1.288 GB, free: 7.625 MB / 0.9825 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.0001037/0.3639, allocations: 109.8 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.364, allocations: 8 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.3642, allocations: 73.19 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3642, allocations: 0 / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3642, allocations: 7.938 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3642, allocations: 0 / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.3643, allocations: 109.2 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3643, allocations: 0 / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.3643, allocations: 8 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3644, allocations: 0 / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3644, allocations: 0 / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3644, allocations: 7.938 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3644, allocations: 4 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.3646, allocations: 85.05 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.3646, allocations: 11.98 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3646, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.3647, allocations: 7.938 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.3647, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3647, allocations: 3.984 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.3648, allocations: 83.28 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3648, allocations: 0 / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000252/0.365, allocations: 35.88 kB / 1.288 GB, free: 7.016 MB / 0.9825 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.0002622/0.3653, allocations: 143 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.3655, allocations: 28.36 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3655, allocations: 0 / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.3655, allocations: 15.92 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3658, allocations: 8 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.3661, allocations: 161.2 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.3662, allocations: 55.36 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.3662, allocations: 11.44 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3662, allocations: 0 / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of Templates: time 0.003114/0.3693, allocations: 1.044 MB / 1.29 GB, free: 5.492 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.232155977748334]