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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 114.1 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 67.88 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9044/0.9059, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1609/1.067, allocations: 149 MB / 1.313 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001458/1.068, allocations: 1.133 MB / 1.314 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/1.069, allocations: 4 kB / 1.314 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003638/1.069, allocations: 51.67 kB / 1.314 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007763/1.07, allocations: 322.6 kB / 1.314 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/1.07, allocations: 167.3 kB / 1.314 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004368/1.071, allocations: 231.2 kB / 1.315 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/1.071, allocations: 50.22 kB / 1.315 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/1.071, allocations: 51.84 kB / 1.315 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.518e-05/1.071, allocations: 63.7 kB / 1.315 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/1.071, allocations: 12 kB / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/1.071, allocations: 367.2 kB / 1.315 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/1.072, allocations: 31.91 kB / 1.315 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/1.072, allocations: 59.67 kB / 1.315 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004209/1.072, allocations: 295.5 kB / 1.316 GB, free: 11.44 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.072, allocations: 0 / 1.316 GB, free: 11.44 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/1.072, allocations: 0 / 1.316 GB, free: 11.44 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.072, allocations: 4 kB / 1.316 GB, free: 11.44 MB / 1.045 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.000649/1.073, allocations: 470.5 kB / 1.316 GB, free: 10.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/1.073, allocations: 8.922 kB / 1.316 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/1.073, allocations: 40.81 kB / 1.316 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/1.073, allocations: 214.4 kB / 1.316 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/1.073, allocations: 15.94 kB / 1.316 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/1.073, allocations: 8 kB / 1.316 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/1.074, allocations: 119.8 kB / 1.316 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/1.074, allocations: 0 / 1.316 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/1.074, allocations: 4 kB / 1.316 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.074, allocations: 7.938 kB / 1.316 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/1.074, allocations: 91.88 kB / 1.317 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/1.075, allocations: 464.2 kB / 1.317 GB, free: 9.887 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/1.075, allocations: 82.55 kB / 1.317 GB, free: 9.797 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/1.075, allocations: 40.94 kB / 1.317 GB, free: 9.754 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/1.075, allocations: 4 kB / 1.317 GB, free: 9.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/1.075, allocations: 42.56 kB / 1.317 GB, free: 9.699 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/1.075, allocations: 0 / 1.317 GB, free: 9.699 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004295/1.075, allocations: 141.5 kB / 1.317 GB, free: 9.555 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/1.076, allocations: 51.41 kB / 1.317 GB, free: 9.492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/1.076, allocations: 186.3 kB / 1.317 GB, free: 9.301 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/1.076, allocations: 33.64 kB / 1.318 GB, free: 9.262 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/1.076, allocations: 112.1 kB / 1.318 GB, free: 9.148 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/1.076, allocations: 23.8 kB / 1.318 GB, free: 9.125 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/1.076, allocations: 21.72 kB / 1.318 GB, free: 9.098 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.076, allocations: 322.8 kB / 1.318 GB, free: 8.773 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/1.076, allocations: 31.97 kB / 1.318 GB, free: 8.742 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.25e-05/1.076, allocations: 39.97 kB / 1.318 GB, free: 8.703 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/1.076, allocations: 76.77 kB / 1.318 GB, free: 8.625 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.076, allocations: 0 / 1.318 GB, free: 8.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002481/1.077, allocations: 117.5 kB / 1.318 GB, free: 8.504 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.077, allocations: 4 kB / 1.318 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.077, allocations: 0 / 1.318 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.077, allocations: 4 kB / 1.318 GB, free: 8.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.077, allocations: 19.98 kB / 1.318 GB, free: 8.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/1.077, allocations: 3.984 kB / 1.318 GB, free: 8.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/1.077, allocations: 23.88 kB / 1.318 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/1.077, allocations: 0 / 1.318 GB, free: 8.449 MB / 1.045 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 9.912e-05/1.077, allocations: 125.7 kB / 1.318 GB, free: 8.316 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/1.077, allocations: 15.94 kB / 1.318 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/1.077, allocations: 119 kB / 1.319 GB, free: 8.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.077, allocations: 4 kB / 1.319 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.077, allocations: 0 / 1.319 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.077, allocations: 0 / 1.319 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/1.078, allocations: 233.5 kB / 1.319 GB, free: 7.898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.078, allocations: 0 / 1.319 GB, free: 7.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/1.078, allocations: 15.98 kB / 1.319 GB, free: 7.883 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.078, allocations: 3.938 kB / 1.319 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/1.078, allocations: 0 / 1.319 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.078, allocations: 0 / 1.319 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.078, allocations: 0 / 1.319 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/1.078, allocations: 212 kB / 1.319 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/1.078, allocations: 97 kB / 1.319 GB, free: 7.543 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/1.078, allocations: 0 / 1.319 GB, free: 7.543 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/1.078, allocations: 4 kB / 1.319 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/1.078, allocations: 11.98 kB / 1.319 GB, free: 7.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/1.078, allocations: 0 / 1.319 GB, free: 7.527 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001036/1.078, allocations: 136.2 kB / 1.319 GB, free: 7.395 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.078, allocations: 0 / 1.319 GB, free: 7.395 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002341/1.079, allocations: 23.94 kB / 1.319 GB, free: 7.371 MB / 1.045 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.0001636/1.079, allocations: 111.2 kB / 1.319 GB, free: 7.25 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002651/1.079, allocations: 83.95 kB / 1.319 GB, free: 7.168 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.079, allocations: 0 / 1.319 GB, free: 7.168 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/1.079, allocations: 47.84 kB / 1.319 GB, free: 7.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/1.08, allocations: 27.98 kB / 1.319 GB, free: 7.094 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/1.08, allocations: 290.2 kB / 1.32 GB, free: 6.773 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/1.08, allocations: 0.7079 MB / 1.32 GB, free: 6.039 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/1.08, allocations: 15.44 kB / 1.32 GB, free: 6.023 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/1.081, allocations: 0 / 1.32 GB, free: 6.023 MB / 1.045 GB Notification: Performance of Templates: time 0.003285/1.084, allocations: 1.656 MB / 1.322 GB, free: 4.375 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches