Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.001865/0.001865, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.002252/0.002252, allocations: 187.8 kB / 19.4 MB, free: 3.66 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.46/1.46, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 443.4 MB / 0.7286 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.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_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 63.89 kB / 1.056 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7681, allocations: 160.7 MB / 1.213 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1837/0.9518, allocations: 149.4 MB / 1.359 GB, free: 2.277 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.9535, allocations: 1.129 MB / 1.36 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.9537, allocations: 0 / 1.36 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.954, allocations: 59.67 kB / 1.36 GB, free: 1.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007954/0.9548, allocations: 314.6 kB / 1.361 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.9551, allocations: 163.3 kB / 1.361 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.9556, allocations: 239.2 kB / 1.361 GB, free: 396 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.9557, allocations: 43.77 kB / 1.361 GB, free: 356 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.9558, allocations: 47.84 kB / 1.361 GB, free: 308 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.807e-05/0.9559, allocations: 67.69 kB / 1.361 GB, free: 240 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.9559, allocations: 12 kB / 1.361 GB, free: 228 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006015/0.9565, allocations: 375.2 kB / 1.362 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.9566, allocations: 27.91 kB / 1.362 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.746e-05/0.9566, allocations: 63.61 kB / 1.362 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.9571, allocations: 302.7 kB / 1.362 GB, free: 15.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9571, allocations: 4 kB / 1.362 GB, free: 15.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9571, allocations: 0 / 1.362 GB, free: 15.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.9571, allocations: 0 / 1.362 GB, free: 15.47 MB / 1.076 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.0007158/0.9578, allocations: 470.5 kB / 1.363 GB, free: 14.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.9579, allocations: 8.625 kB / 1.363 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.9581, allocations: 36.81 kB / 1.363 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.9584, allocations: 212.1 kB / 1.363 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.9585, allocations: 15.88 kB / 1.363 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.9585, allocations: 11.94 kB / 1.363 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.9588, allocations: 114.9 kB / 1.363 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.9588, allocations: 0 / 1.363 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.9588, allocations: 7.938 kB / 1.363 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.9588, allocations: 4 kB / 1.363 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.9591, allocations: 91.94 kB / 1.363 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007328/0.9598, allocations: 460.2 kB / 1.363 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.96, allocations: 86.48 kB / 1.364 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.9602, allocations: 44.94 kB / 1.364 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.9602, allocations: 0 / 1.364 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.9602, allocations: 34.56 kB / 1.364 GB, free: 13.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.9602, allocations: 0 / 1.364 GB, free: 13.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004637/0.9607, allocations: 137.5 kB / 1.364 GB, free: 13.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.9607, allocations: 59.39 kB / 1.364 GB, free: 13.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.9609, allocations: 186.8 kB / 1.364 GB, free: 13.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.961, allocations: 25.7 kB / 1.364 GB, free: 13.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.961, allocations: 112.1 kB / 1.364 GB, free: 13.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.9611, allocations: 27.78 kB / 1.364 GB, free: 13.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.9611, allocations: 17.72 kB / 1.364 GB, free: 13.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.9613, allocations: 326.8 kB / 1.364 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.9614, allocations: 31.97 kB / 1.364 GB, free: 12.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.9615, allocations: 35.98 kB / 1.365 GB, free: 12.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.9617, allocations: 72.81 kB / 1.365 GB, free: 12.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9617, allocations: 0 / 1.365 GB, free: 12.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003006/0.962, allocations: 121.5 kB / 1.365 GB, free: 12.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.962, allocations: 4 kB / 1.365 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.962, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.9621, allocations: 7.984 kB / 1.365 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.9622, allocations: 19.98 kB / 1.365 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.9622, allocations: 0 / 1.365 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.9623, allocations: 23.88 kB / 1.365 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.9623, allocations: 4 kB / 1.365 GB, free: 12.49 MB / 1.076 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.0001092/0.9624, allocations: 121.8 kB / 1.365 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.9625, allocations: 7.953 kB / 1.365 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.9628, allocations: 135.5 kB / 1.365 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.9628, allocations: 0 / 1.365 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.9628, allocations: 4 kB / 1.365 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.9628, allocations: 3.938 kB / 1.365 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.9631, allocations: 221.5 kB / 1.365 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9631, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.9632, allocations: 15.98 kB / 1.365 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9632, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.9632, allocations: 7.938 kB / 1.365 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.9632, allocations: 3.984 kB / 1.365 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9632, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.9636, allocations: 215.4 kB / 1.365 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.9636, allocations: 89.02 kB / 1.366 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.9637, allocations: 7.984 kB / 1.366 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.9638, allocations: 4 kB / 1.366 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.9638, allocations: 11.98 kB / 1.366 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.9638, allocations: 4 kB / 1.366 GB, free: 11.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000124/0.964, allocations: 128.2 kB / 1.366 GB, free: 11.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.964, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002543/0.9642, allocations: 27.94 kB / 1.366 GB, free: 11.4 MB / 1.076 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.0001546/0.9644, allocations: 103.2 kB / 1.366 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.9647, allocations: 83.83 kB / 1.366 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.9647, allocations: 0 / 1.366 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.9648, allocations: 35.97 kB / 1.366 GB, free: 11.17 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.9652, allocations: 27.98 kB / 1.366 GB, free: 11.14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.9657, allocations: 264.4 kB / 1.366 GB, free: 10.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.966, allocations: 0.708 MB / 1.367 GB, free: 10.12 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.452e-05/0.9661, allocations: 12.88 kB / 1.367 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.9661, allocations: 15.44 kB / 1.367 GB, free: 10.09 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.9661, allocations: 3.938 kB / 1.367 GB, free: 10.09 MB / 1.076 GB Notification: Performance of Templates: time 0.004672/0.9708, allocations: 1.609 MB / 1.369 GB, free: 8.508 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.587244962342083]