Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.001378/0.001378, allocations: 108.4 kB / 16.46 MB, free: 6.453 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.001521/0.001521, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.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 3.19/3.19, allocations: 0.4899 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] 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.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [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.002091/0.002091, allocations: 64.83 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3709, allocations: 176.1 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1928/0.5637, allocations: 152.3 MB / 1.47 GB, free: 9.945 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.5655, allocations: 1.152 MB / 1.471 GB, free: 8.789 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.5656, allocations: 7.938 kB / 1.471 GB, free: 8.781 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.566, allocations: 59.66 kB / 1.471 GB, free: 8.723 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008106/0.5668, allocations: 314.6 kB / 1.471 GB, free: 8.414 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.5672, allocations: 163.4 kB / 1.472 GB, free: 8.254 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.5677, allocations: 227.3 kB / 1.472 GB, free: 8.031 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.5678, allocations: 41.08 kB / 1.472 GB, free: 7.992 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.5679, allocations: 51.8 kB / 1.472 GB, free: 7.941 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.568, allocations: 63.7 kB / 1.472 GB, free: 7.879 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.568, allocations: 12 kB / 1.472 GB, free: 7.867 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000649/0.5687, allocations: 383.2 kB / 1.472 GB, free: 7.492 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.5687, allocations: 31.92 kB / 1.472 GB, free: 7.461 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.66e-05/0.5688, allocations: 63.66 kB / 1.472 GB, free: 7.398 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0005331/0.5694, allocations: 303 kB / 1.473 GB, free: 7.102 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5694, allocations: 4 kB / 1.473 GB, free: 7.098 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.113e-06/0.5694, allocations: 0 / 1.473 GB, free: 7.098 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5694, allocations: 0 / 1.473 GB, free: 7.098 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007736/0.5701, allocations: 482.3 kB / 1.473 GB, free: 6.578 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5702, allocations: 15.97 kB / 1.473 GB, free: 6.562 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005026/0.5707, allocations: 48.8 kB / 1.473 GB, free: 6.516 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.5711, allocations: 209.9 kB / 1.473 GB, free: 6.273 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.5711, allocations: 11.94 kB / 1.474 GB, free: 6.262 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.5711, allocations: 8 kB / 1.474 GB, free: 6.254 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.5714, allocations: 118.2 kB / 1.474 GB, free: 6.133 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5714, allocations: 3.938 kB / 1.474 GB, free: 6.129 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.5714, allocations: 4 kB / 1.474 GB, free: 6.125 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.5714, allocations: 4 kB / 1.474 GB, free: 6.121 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.5717, allocations: 94.78 kB / 1.474 GB, free: 6.031 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000828/0.5725, allocations: 460.2 kB / 1.474 GB, free: 5.531 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.5728, allocations: 86.48 kB / 1.474 GB, free: 5.438 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.5729, allocations: 40.94 kB / 1.474 GB, free: 5.395 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.573, allocations: 4 kB / 1.474 GB, free: 5.391 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.573, allocations: 34.56 kB / 1.474 GB, free: 5.348 MB / 1.17 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.573, allocations: 0 / 1.474 GB, free: 5.348 MB / 1.17 GB Notification: Performance of matching and sorting (n=7): time 0.000509/0.5735, allocations: 141.5 kB / 1.474 GB, free: 5.203 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.5735, allocations: 59.41 kB / 1.475 GB, free: 5.133 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.5738, allocations: 178.4 kB / 1.475 GB, free: 4.949 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.5738, allocations: 25.7 kB / 1.475 GB, free: 4.918 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.5739, allocations: 120 kB / 1.475 GB, free: 4.797 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.5739, allocations: 19.86 kB / 1.475 GB, free: 4.777 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.574, allocations: 25.64 kB / 1.475 GB, free: 4.746 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5742, allocations: 326.8 kB / 1.475 GB, free: 4.418 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.5743, allocations: 35.98 kB / 1.475 GB, free: 4.383 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.5744, allocations: 31.97 kB / 1.475 GB, free: 4.352 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.5746, allocations: 68.83 kB / 1.475 GB, free: 4.281 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5746, allocations: 0 / 1.475 GB, free: 4.281 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002996/0.5749, allocations: 117.5 kB / 1.475 GB, free: 4.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.5749, allocations: 11.98 kB / 1.475 GB, free: 4.148 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.5749, allocations: 4 kB / 1.475 GB, free: 4.145 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.575, allocations: 0 / 1.475 GB, free: 4.145 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.5751, allocations: 23.86 kB / 1.475 GB, free: 4.121 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5751, allocations: 4 kB / 1.475 GB, free: 4.117 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.5752, allocations: 19.89 kB / 1.475 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.5752, allocations: 0 / 1.475 GB, free: 4.098 MB / 1.17 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.0001288/0.5754, allocations: 129.8 kB / 1.476 GB, free: 3.961 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.5754, allocations: 7.953 kB / 1.476 GB, free: 3.953 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.5758, allocations: 127 kB / 1.476 GB, free: 3.824 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5758, allocations: 3.938 kB / 1.476 GB, free: 3.82 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.5758, allocations: 0 / 1.476 GB, free: 3.82 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5758, allocations: 7.984 kB / 1.476 GB, free: 3.812 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.5761, allocations: 221.5 kB / 1.476 GB, free: 3.547 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5761, allocations: 0 / 1.476 GB, free: 3.547 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.5762, allocations: 15.98 kB / 1.476 GB, free: 3.531 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5762, allocations: 0 / 1.476 GB, free: 3.531 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.5762, allocations: 0 / 1.476 GB, free: 3.531 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5762, allocations: 8 kB / 1.476 GB, free: 3.523 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5762, allocations: 3.938 kB / 1.476 GB, free: 3.52 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.5765, allocations: 207.4 kB / 1.476 GB, free: 3.301 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.5766, allocations: 96.94 kB / 1.476 GB, free: 3.188 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.5766, allocations: 4 kB / 1.476 GB, free: 3.184 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5767, allocations: 7.938 kB / 1.476 GB, free: 3.176 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.5768, allocations: 11.98 kB / 1.476 GB, free: 3.164 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.5768, allocations: 4 kB / 1.476 GB, free: 3.16 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001292/0.5769, allocations: 136.2 kB / 1.476 GB, free: 3.027 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5769, allocations: 0 / 1.476 GB, free: 3.027 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000256/0.5772, allocations: 24 kB / 1.476 GB, free: 3.004 MB / 1.17 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 (7): * Single equations (assignments): 7 * 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.0002085/0.5774, allocations: 103.2 kB / 1.477 GB, free: 2.891 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.5777, allocations: 80.59 kB / 1.477 GB, free: 2.812 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5777, allocations: 0 / 1.477 GB, free: 2.812 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.5778, allocations: 39.91 kB / 1.477 GB, free: 2.773 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.5782, allocations: 32.3 kB / 1.477 GB, free: 2.742 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.5788, allocations: 264.5 kB / 1.477 GB, free: 2.457 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.5792, allocations: 0.7119 MB / 1.478 GB, free: 1.719 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 6.078e-05/0.5792, allocations: 8.891 kB / 1.478 GB, free: 1.711 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.5793, allocations: 15.44 kB / 1.478 GB, free: 1.695 MB / 1.17 GB Notification: Performance of SimCode: time 3.91e-07/0.5793, allocations: 3.938 kB / 1.478 GB, free: 1.691 MB / 1.17 GB Notification: Performance of Templates: time 0.005033/0.5843, allocations: 1.612 MB / 1.479 GB, free: 100 kB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.125231148209423]