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.007262/0.007262, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001593/0.001593, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.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.639/2.639, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2807, allocations: 151.6 MB / 1.167 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7543/1.035, allocations: 149 MB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001332/1.036, allocations: 1.138 MB / 1.313 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/1.037, allocations: 2.5 kB / 1.313 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003229/1.037, allocations: 56.2 kB / 1.313 GB, free: 12.85 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007231/1.038, allocations: 305.7 kB / 1.314 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/1.038, allocations: 166.2 kB / 1.314 GB, free: 12.74 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004226/1.039, allocations: 219.6 kB / 1.314 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/1.039, allocations: 57.98 kB / 1.314 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.239e-05/1.039, allocations: 53.44 kB / 1.314 GB, free: 12.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/1.039, allocations: 61.16 kB / 1.314 GB, free: 12.67 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/1.039, allocations: 11.28 kB / 1.314 GB, free: 12.67 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005999/1.039, allocations: 367.4 kB / 1.314 GB, free: 12.65 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/1.04, allocations: 31.42 kB / 1.315 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/1.04, allocations: 65.19 kB / 1.315 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004648/1.04, allocations: 301.2 kB / 1.315 GB, free: 12.58 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/1.04, allocations: 1.094 kB / 1.315 GB, free: 12.58 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.243e-06/1.04, allocations: 0 / 1.315 GB, free: 12.58 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.627e-06/1.04, allocations: 0 / 1.315 GB, free: 12.58 MB / 1.014 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.0006313/1.041, allocations: 471.1 kB / 1.315 GB, free: 12.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/1.041, allocations: 9.75 kB / 1.315 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/1.041, allocations: 40.64 kB / 1.315 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/1.041, allocations: 208.9 kB / 1.316 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/1.041, allocations: 10.97 kB / 1.316 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/1.041, allocations: 10.53 kB / 1.316 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/1.042, allocations: 118.6 kB / 1.316 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.042, allocations: 1.688 kB / 1.316 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/1.042, allocations: 4.25 kB / 1.316 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.042, allocations: 6.188 kB / 1.316 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/1.042, allocations: 94.84 kB / 1.316 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/1.043, allocations: 461.5 kB / 1.316 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/1.043, allocations: 94.16 kB / 1.316 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/1.043, allocations: 40.69 kB / 1.316 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/1.043, allocations: 1.094 kB / 1.316 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/1.043, allocations: 32.45 kB / 1.316 GB, free: 11.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/1.043, allocations: 3.938 kB / 1.316 GB, free: 11.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0004425/1.044, allocations: 140 kB / 1.317 GB, free: 11.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/1.044, allocations: 52.56 kB / 1.317 GB, free: 11.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/1.044, allocations: 184.8 kB / 1.317 GB, free: 11.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/1.044, allocations: 29.39 kB / 1.317 GB, free: 11.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/1.044, allocations: 108.8 kB / 1.317 GB, free: 11.19 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/1.044, allocations: 30.11 kB / 1.317 GB, free: 11.17 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/1.044, allocations: 23.3 kB / 1.317 GB, free: 11.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.044, allocations: 325.2 kB / 1.317 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/1.044, allocations: 41.33 kB / 1.317 GB, free: 10.83 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/1.044, allocations: 30.88 kB / 1.317 GB, free: 10.83 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/1.045, allocations: 75.98 kB / 1.317 GB, free: 10.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.045, allocations: 0 / 1.317 GB, free: 10.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000275/1.045, allocations: 120.5 kB / 1.318 GB, free: 10.78 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.045, allocations: 9.875 kB / 1.318 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/1.045, allocations: 0 / 1.318 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/1.045, allocations: 0.9062 kB / 1.318 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/1.045, allocations: 18.12 kB / 1.318 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.045, allocations: 2.344 kB / 1.318 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/1.045, allocations: 16.48 kB / 1.318 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/1.045, allocations: 1.344 kB / 1.318 GB, free: 10.77 MB / 1.014 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.872e-05/1.045, allocations: 127.8 kB / 1.318 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/1.045, allocations: 13.95 kB / 1.318 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/1.046, allocations: 126.6 kB / 1.318 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/1.046, allocations: 1.062 kB / 1.318 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.046, allocations: 4.75 kB / 1.318 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.046, allocations: 0.7969 kB / 1.318 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/1.046, allocations: 226 kB / 1.318 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.046, allocations: 0 / 1.318 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/1.046, allocations: 19.75 kB / 1.318 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.046, allocations: 4.844 kB / 1.318 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/1.046, allocations: 1.484 kB / 1.318 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/1.046, allocations: 0.9375 kB / 1.318 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.046, allocations: 0 / 1.318 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/1.046, allocations: 205.6 kB / 1.318 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/1.046, allocations: 93.14 kB / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/1.046, allocations: 1.797 kB / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/1.047, allocations: 9.938 kB / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/1.047, allocations: 8.281 kB / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/1.047, allocations: 1.094 kB / 1.318 GB, free: 10.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001078/1.047, allocations: 133.2 kB / 1.318 GB, free: 10.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.047, allocations: 3.938 kB / 1.318 GB, free: 10.08 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002467/1.047, allocations: 26.34 kB / 1.319 GB, free: 10.08 MB / 1.014 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.0001595/1.047, allocations: 111.3 kB / 1.319 GB, free: 9.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002764/1.047, allocations: 74.81 kB / 1.319 GB, free: 9.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.047, allocations: 1.094 kB / 1.319 GB, free: 9.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/1.048, allocations: 42.7 kB / 1.319 GB, free: 9.977 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/1.048, allocations: 40.58 kB / 1.319 GB, free: 9.965 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/1.048, allocations: 248.9 kB / 1.319 GB, free: 9.809 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/1.049, allocations: 0.7117 MB / 1.32 GB, free: 9.105 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.079e-05/1.049, allocations: 19.27 kB / 1.32 GB, free: 9.098 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/1.049, allocations: 12.62 kB / 1.32 GB, free: 9.09 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/1.049, allocations: 0 / 1.32 GB, free: 9.09 MB / 1.014 GB Notification: Performance of Templates: time 0.004579/1.053, allocations: 1.603 MB / 1.321 GB, free: 8.969 MB / 1.014 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/jenkins/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