Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001369/0.001369, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001441/0.001441, allocations: 157.6 kB / 23.01 MB, free: 4.602 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.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.77/2.77, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [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.00221/0.00221, allocations: 67.89 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9249/0.9271, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00251/0.9296, allocations: 1.638 MB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1696/1.099, allocations: 133.2 MB / 1.286 GB, free: 6.473 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/1.099, allocations: 1.656 kB / 1.286 GB, free: 6.473 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/1.099, allocations: 16.64 kB / 1.286 GB, free: 6.461 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/1.1, allocations: 44.34 kB / 1.286 GB, free: 6.434 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/1.1, allocations: 150 kB / 1.286 GB, free: 6.359 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/1.1, allocations: 123.3 kB / 1.286 GB, free: 6.301 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/1.101, allocations: 20.47 kB / 1.286 GB, free: 6.285 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/1.102, allocations: 182.2 kB / 1.286 GB, free: 6.227 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/1.102, allocations: 41.86 kB / 1.286 GB, free: 6.207 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/1.102, allocations: 7.5 kB / 1.286 GB, free: 6.207 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/1.103, allocations: 176.4 kB / 1.286 GB, free: 6.16 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/1.103, allocations: 20.66 kB / 1.286 GB, free: 6.148 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 6.248e-05/1.103, allocations: 40.73 kB / 1.286 GB, free: 6.125 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004289/1.103, allocations: 196.8 kB / 1.287 GB, free: 6.055 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/1.103, allocations: 0 / 1.287 GB, free: 6.055 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.072e-06/1.103, allocations: 0 / 1.287 GB, free: 6.055 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.103, allocations: 0.5625 kB / 1.287 GB, free: 6.055 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007431/1.104, allocations: 375.8 kB / 1.287 GB, free: 5.727 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/1.104, allocations: 9.688 kB / 1.287 GB, free: 5.727 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/1.105, allocations: 93.22 kB / 1.287 GB, free: 5.711 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/1.105, allocations: 144.1 kB / 1.287 GB, free: 5.566 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/1.105, allocations: 7.188 kB / 1.287 GB, free: 5.562 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/1.105, allocations: 9.812 kB / 1.287 GB, free: 5.559 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/1.106, allocations: 134 kB / 1.287 GB, free: 5.504 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.106, allocations: 0.6562 kB / 1.287 GB, free: 5.504 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/1.106, allocations: 9.25 kB / 1.287 GB, free: 5.496 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.106, allocations: 5.125 kB / 1.287 GB, free: 5.492 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/1.106, allocations: 134.9 kB / 1.287 GB, free: 5.465 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/1.107, allocations: 343.2 kB / 1.288 GB, free: 5.195 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/1.108, allocations: 166.5 kB / 1.288 GB, free: 5.137 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/1.108, allocations: 69.28 kB / 1.288 GB, free: 5.117 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/1.108, allocations: 1.125 kB / 1.288 GB, free: 5.117 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.108, allocations: 36.72 kB / 1.288 GB, free: 5.074 MB / 1.139 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/1.108, allocations: 0 / 1.288 GB, free: 5.074 MB / 1.139 GB Notification: Performance of matching and sorting (n=8): time 0.0008258/1.109, allocations: 221 kB / 1.288 GB, free: 4.992 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/1.109, allocations: 53.47 kB / 1.288 GB, free: 4.93 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/1.109, allocations: 136.5 kB / 1.288 GB, free: 4.82 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/1.109, allocations: 27.11 kB / 1.288 GB, free: 4.789 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/1.109, allocations: 108.3 kB / 1.289 GB, free: 4.688 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/1.109, allocations: 29.64 kB / 1.289 GB, free: 4.664 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/1.109, allocations: 27.36 kB / 1.289 GB, free: 4.641 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.109, allocations: 325.1 kB / 1.289 GB, free: 4.32 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.11, allocations: 54.12 kB / 1.289 GB, free: 4.309 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/1.11, allocations: 131.9 kB / 1.289 GB, free: 4.207 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/1.11, allocations: 124.4 kB / 1.289 GB, free: 4.168 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.11, allocations: 0 / 1.289 GB, free: 4.168 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005259/1.111, allocations: 161.8 kB / 1.289 GB, free: 4.102 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.111, allocations: 6.781 kB / 1.289 GB, free: 4.102 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/1.111, allocations: 1.281 kB / 1.289 GB, free: 4.102 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/1.111, allocations: 0 / 1.289 GB, free: 4.102 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/1.111, allocations: 28.39 kB / 1.289 GB, free: 4.102 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.111, allocations: 0 / 1.289 GB, free: 4.102 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/1.111, allocations: 19.97 kB / 1.289 GB, free: 4.098 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/1.111, allocations: 10.17 kB / 1.289 GB, free: 4.09 MB / 1.139 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 (8): * Single equations (assignments): 8 * 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.0001087/1.111, allocations: 124.6 kB / 1.29 GB, free: 3.965 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/1.112, allocations: 8.656 kB / 1.29 GB, free: 3.961 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/1.112, allocations: 16.62 kB / 1.29 GB, free: 3.949 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.112, allocations: 1.156 kB / 1.29 GB, free: 3.949 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.112, allocations: 1.438 kB / 1.29 GB, free: 3.949 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.112, allocations: 0.6562 kB / 1.29 GB, free: 3.949 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008449/1.112, allocations: 402.4 kB / 1.29 GB, free: 3.66 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.112, allocations: 0 / 1.29 GB, free: 3.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/1.113, allocations: 31.11 kB / 1.29 GB, free: 3.656 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.113, allocations: 0 / 1.29 GB, free: 3.656 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/1.113, allocations: 10.45 kB / 1.29 GB, free: 3.648 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.113, allocations: 1.375 kB / 1.29 GB, free: 3.648 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.113, allocations: 0.75 kB / 1.29 GB, free: 3.648 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/1.113, allocations: 255.1 kB / 1.29 GB, free: 3.484 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/1.113, allocations: 11.34 kB / 1.29 GB, free: 3.477 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/1.113, allocations: 6.156 kB / 1.29 GB, free: 3.473 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/1.113, allocations: 18.45 kB / 1.29 GB, free: 3.469 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/1.113, allocations: 7.047 kB / 1.29 GB, free: 3.469 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/1.113, allocations: 1.688 kB / 1.29 GB, free: 3.469 MB / 1.139 GB Notification: Performance of sorting global known variables: time 8.824e-05/1.114, allocations: 111 kB / 1.29 GB, free: 3.383 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.114, allocations: 0 / 1.29 GB, free: 3.383 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002818/1.114, allocations: 36.28 kB / 1.29 GB, free: 3.371 MB / 1.139 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 (8): * Single equations (assignments): 8 * 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.0001649/1.114, allocations: 113 kB / 1.291 GB, free: 3.277 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005201/1.115, allocations: 121 kB / 1.291 GB, free: 3.254 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.115, allocations: 0 / 1.291 GB, free: 3.254 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/1.115, allocations: 72.23 kB / 1.291 GB, free: 3.234 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/1.115, allocations: 27.45 kB / 1.291 GB, free: 3.227 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/1.116, allocations: 238.4 kB / 1.291 GB, free: 3.059 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.996e-05/1.116, allocations: 88.22 kB / 1.291 GB, free: 2.984 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001361/1.116, allocations: 24.64 kB / 1.291 GB, free: 2.977 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/1.116, allocations: 16.77 kB / 1.291 GB, free: 2.965 MB / 1.139 GB Notification: Performance of SimCode: time 4.21e-07/1.116, allocations: 4 kB / 1.291 GB, free: 2.961 MB / 1.139 GB Notification: Performance of Templates: time 0.005448/1.121, allocations: 1.963 MB / 1.293 GB, free: 2.734 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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: 8.791930128005333]