Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00164/0.00164, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.002251/0.002251, allocations: 208.3 kB / 22.99 MB, free: 4.977 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.801/2.801, allocations: 476 MB / 0.7707 GB, free: 4.703 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.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_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_11_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.002073/0.002073, allocations: 64.89 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003306/0.356, allocations: 1.628 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1811/0.5371, allocations: 133.2 MB / 1.415 GB, free: 4.598 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.5372, allocations: 0 / 1.415 GB, free: 4.598 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.5373, allocations: 19.8 kB / 1.415 GB, free: 4.578 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.5376, allocations: 55.64 kB / 1.416 GB, free: 4.523 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.538, allocations: 143.4 kB / 1.416 GB, free: 4.383 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.5382, allocations: 115.6 kB / 1.416 GB, free: 4.27 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.5383, allocations: 25.56 kB / 1.416 GB, free: 4.242 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.5397, allocations: 181.2 kB / 1.416 GB, free: 4.09 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.655e-05/0.5398, allocations: 55.75 kB / 1.416 GB, free: 4.035 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.5398, allocations: 4 kB / 1.416 GB, free: 4.031 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.5402, allocations: 175.7 kB / 1.416 GB, free: 3.859 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.5403, allocations: 19.92 kB / 1.416 GB, free: 3.84 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.5403, allocations: 39.8 kB / 1.416 GB, free: 3.801 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.5407, allocations: 191.3 kB / 1.416 GB, free: 3.613 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5407, allocations: 0 / 1.416 GB, free: 3.613 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5407, allocations: 0 / 1.416 GB, free: 3.613 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.5407, allocations: 0 / 1.416 GB, free: 3.613 MB / 1.107 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.0006601/0.5413, allocations: 377.5 kB / 1.417 GB, free: 3.215 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5414, allocations: 8.031 kB / 1.417 GB, free: 3.207 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009884/0.5424, allocations: 99.8 kB / 1.417 GB, free: 3.109 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.5426, allocations: 154.7 kB / 1.417 GB, free: 2.934 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.5426, allocations: 8 kB / 1.417 GB, free: 2.926 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.5427, allocations: 4 kB / 1.417 GB, free: 2.922 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.5431, allocations: 133.6 kB / 1.417 GB, free: 2.785 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5431, allocations: 0 / 1.417 GB, free: 2.785 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.5431, allocations: 4 kB / 1.417 GB, free: 2.781 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5431, allocations: 3.938 kB / 1.417 GB, free: 2.777 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.5437, allocations: 135.9 kB / 1.417 GB, free: 2.645 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/0.5444, allocations: 344.1 kB / 1.418 GB, free: 2.277 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007175/0.5452, allocations: 170.6 kB / 1.418 GB, free: 2.102 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.5454, allocations: 72.8 kB / 1.418 GB, free: 2.027 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.5455, allocations: 0 / 1.418 GB, free: 2.027 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5455, allocations: 30.56 kB / 1.418 GB, free: 1.988 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.5455, allocations: 0 / 1.418 GB, free: 1.988 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.0009069/0.5464, allocations: 221.4 kB / 1.418 GB, free: 1.766 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.5465, allocations: 59.34 kB / 1.418 GB, free: 1.695 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.5466, allocations: 136 kB / 1.418 GB, free: 1.555 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.5466, allocations: 29.7 kB / 1.418 GB, free: 1.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.5467, allocations: 104.1 kB / 1.418 GB, free: 1.414 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.5467, allocations: 27.89 kB / 1.418 GB, free: 1.387 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.5468, allocations: 25.7 kB / 1.418 GB, free: 1.355 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.547, allocations: 322.8 kB / 1.419 GB, free: 1.031 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.5472, allocations: 47.95 kB / 1.419 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.5475, allocations: 133.9 kB / 1.419 GB, free: 0.832 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.5479, allocations: 120.7 kB / 1.419 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5479, allocations: 0 / 1.419 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005152/0.5484, allocations: 161.5 kB / 1.419 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5484, allocations: 4 kB / 1.419 GB, free: 0.543 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5484, allocations: 0 / 1.419 GB, free: 0.543 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5485, allocations: 3.984 kB / 1.419 GB, free: 0.5391 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.5487, allocations: 27.97 kB / 1.419 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5487, allocations: 4 kB / 1.419 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.5488, allocations: 15.98 kB / 1.419 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.5488, allocations: 4 kB / 1.419 GB, free: 500 kB / 1.107 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.0001484/0.549, allocations: 125.7 kB / 1.419 GB, free: 364 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.549, allocations: 11.95 kB / 1.419 GB, free: 352 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.5491, allocations: 16.72 kB / 1.419 GB, free: 332 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.5491, allocations: 0 / 1.419 GB, free: 332 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5491, allocations: 7.938 kB / 1.419 GB, free: 324 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5491, allocations: 0 / 1.419 GB, free: 324 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000967/0.5501, allocations: 401.9 kB / 1.42 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5501, allocations: 0 / 1.42 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.5503, allocations: 35.95 kB / 1.42 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5503, allocations: 0 / 1.42 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5503, allocations: 4 kB / 1.42 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5503, allocations: 0.625 kB / 1.42 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.5503, allocations: 0 / 1.42 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006338/0.5509, allocations: 271.2 kB / 1.42 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.5509, allocations: 3.953 kB / 1.42 GB, free: 15.56 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.551, allocations: 8 kB / 1.42 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.5511, allocations: 15.97 kB / 1.42 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.5512, allocations: 0 / 1.42 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.5512, allocations: 11.98 kB / 1.42 GB, free: 15.53 MB / 1.123 GB Notification: Performance of sorting global known variables: time 8.452e-05/0.5513, allocations: 105.4 kB / 1.42 GB, free: 15.43 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5513, allocations: 0 / 1.42 GB, free: 15.43 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002835/0.5516, allocations: 35.89 kB / 1.42 GB, free: 15.39 MB / 1.123 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.000177/0.5517, allocations: 111.2 kB / 1.42 GB, free: 15.27 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005294/0.5523, allocations: 123.8 kB / 1.421 GB, free: 15.15 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5523, allocations: 3.938 kB / 1.421 GB, free: 15.15 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.5525, allocations: 67.94 kB / 1.421 GB, free: 15.08 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.5528, allocations: 26.17 kB / 1.421 GB, free: 15.06 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/0.5535, allocations: 260.8 kB / 1.421 GB, free: 14.77 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.284e-05/0.5536, allocations: 88.19 kB / 1.421 GB, free: 14.66 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.5537, allocations: 19.42 kB / 1.421 GB, free: 14.64 MB / 1.123 GB Notification: Performance of SimCode: time 3.91e-07/0.5537, allocations: 0 / 1.421 GB, free: 14.64 MB / 1.123 GB Notification: Performance of Templates: time 0.004012/0.5577, allocations: 1.707 MB / 1.423 GB, free: 12.94 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.703964154236019]