Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001034/0.001033, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 175 kB / 16.92 MB, free: 6.652 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.000386, allocations: 15.97 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7527/0.7531, allocations: 142.4 MB / 0.9557 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.166/0.9191, allocations: 144.8 MB / 1.097 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.9209, allocations: 1.129 MB / 1.098 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.9211, allocations: 4 kB / 1.098 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.9215, allocations: 47.78 kB / 1.098 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009212/0.9224, allocations: 286.8 kB / 1.099 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.9228, allocations: 147.5 kB / 1.099 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.9234, allocations: 239.2 kB / 1.099 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.9235, allocations: 47.22 kB / 1.099 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.9236, allocations: 35.84 kB / 1.099 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.9237, allocations: 55.64 kB / 1.099 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.9238, allocations: 4 kB / 1.099 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007242/0.9245, allocations: 407.2 kB / 1.099 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.9246, allocations: 19.91 kB / 1.1 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.825e-05/0.9247, allocations: 77.38 kB / 1.1 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.9251, allocations: 195.6 kB / 1.1 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9251, allocations: 7.938 kB / 1.1 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9251, allocations: 0 / 1.1 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.9251, allocations: 0 / 1.1 GB, free: 11.46 MB / 0.8575 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.0007486/0.9259, allocations: 450.9 kB / 1.1 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.9259, allocations: 12.03 kB / 1.1 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.9263, allocations: 40.72 kB / 1.1 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.9265, allocations: 208.5 kB / 1.1 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.9266, allocations: 8 kB / 1.1 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.9266, allocations: 12 kB / 1.1 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.9269, allocations: 115.5 kB / 1.101 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9269, allocations: 4 kB / 1.101 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.9269, allocations: 8 kB / 1.101 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.9269, allocations: 0 / 1.101 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.9272, allocations: 103.9 kB / 1.101 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.928, allocations: 464 kB / 1.101 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.9283, allocations: 94.55 kB / 1.101 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.9284, allocations: 52.88 kB / 1.101 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.9284, allocations: 0 / 1.101 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.9285, allocations: 34.56 kB / 1.101 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.9285, allocations: 0 / 1.101 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004916/0.929, allocations: 165.5 kB / 1.101 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.929, allocations: 51.41 kB / 1.102 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.9292, allocations: 170.9 kB / 1.102 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.9292, allocations: 33.69 kB / 1.102 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.9293, allocations: 123.9 kB / 1.102 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.9294, allocations: 15.72 kB / 1.102 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.9294, allocations: 17.66 kB / 1.102 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.9295, allocations: 330.7 kB / 1.102 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.9296, allocations: 43.91 kB / 1.102 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.9298, allocations: 43.97 kB / 1.102 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.93, allocations: 84.83 kB / 1.102 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.93, allocations: 0 / 1.102 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002892/0.9303, allocations: 125.5 kB / 1.102 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.9303, allocations: 5.875 kB / 1.102 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9303, allocations: 4 kB / 1.102 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.9304, allocations: 0 / 1.102 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.9305, allocations: 23.92 kB / 1.102 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.9305, allocations: 8.531 kB / 1.103 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.9306, allocations: 19.84 kB / 1.103 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.9306, allocations: 3.938 kB / 1.103 GB, free: 8.422 MB / 0.8575 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.0001098/0.9308, allocations: 121.8 kB / 1.103 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.9308, allocations: 11.89 kB / 1.103 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.9312, allocations: 131 kB / 1.103 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9312, allocations: 4 kB / 1.103 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9312, allocations: 4 kB / 1.103 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9312, allocations: 0 / 1.103 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.9314, allocations: 233.4 kB / 1.103 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.9314, allocations: 0 / 1.103 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.9316, allocations: 19.98 kB / 1.103 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9316, allocations: 4 kB / 1.103 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.9316, allocations: 0 / 1.103 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.9316, allocations: 4 kB / 1.103 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9316, allocations: 0 / 1.103 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.9319, allocations: 219.3 kB / 1.103 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.932, allocations: 100.8 kB / 1.103 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.932, allocations: 0 / 1.103 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.9322, allocations: 8 kB / 1.103 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.9322, allocations: 7.922 kB / 1.103 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.9322, allocations: 8 kB / 1.103 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001152/0.9324, allocations: 133.2 kB / 1.103 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9324, allocations: 4 kB / 1.103 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002513/0.9326, allocations: 24 kB / 1.104 GB, free: 7.309 MB / 0.8575 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.0001782/0.9328, allocations: 107.2 kB / 1.104 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.9331, allocations: 83.95 kB / 1.104 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9331, allocations: 0 / 1.104 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.9332, allocations: 47.91 kB / 1.104 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.9337, allocations: 35.92 kB / 1.104 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.9343, allocations: 335.3 kB / 1.104 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.9345, allocations: 0.7043 MB / 1.105 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.9346, allocations: 15.44 kB / 1.105 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.9346, allocations: 0 / 1.105 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of Templates: time 0.003686/0.9383, allocations: 1.637 MB / 1.106 GB, free: 4.293 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches