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.0009159/0.0009159, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000824/0.000824, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8424/0.8424, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.737/1.737, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.266e-05, allocations: 6.281 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5825/0.5825, allocations: 131 MB / 1.109 GB, free: 24.36 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.5837, allocations: 1.041 MB / 1.11 GB, free: 23.67 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.5839, allocations: 6.188 kB / 1.11 GB, free: 23.67 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.5843, allocations: 47.06 kB / 1.11 GB, free: 23.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006581/0.585, allocations: 325.3 kB / 1.11 GB, free: 23.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.5853, allocations: 166.6 kB / 1.111 GB, free: 23.4 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.5857, allocations: 232.2 kB / 1.111 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.5858, allocations: 39.81 kB / 1.111 GB, free: 23.28 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.5859, allocations: 80.33 kB / 1.111 GB, free: 23.24 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.59e-05/0.586, allocations: 45.83 kB / 1.111 GB, free: 23.22 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.586, allocations: 12.78 kB / 1.111 GB, free: 23.22 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.5863, allocations: 238.9 kB / 1.111 GB, free: 23.15 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.5864, allocations: 25.7 kB / 1.111 GB, free: 23.13 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.5864, allocations: 46.08 kB / 1.111 GB, free: 23.11 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.5868, allocations: 280.1 kB / 1.111 GB, free: 23.01 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5868, allocations: 0.9688 kB / 1.111 GB, free: 23.01 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5868, allocations: 0 / 1.111 GB, free: 23.01 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.5868, allocations: 3.938 kB / 1.111 GB, free: 23.01 MB / 0.9948 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.0005196/0.5874, allocations: 408.2 kB / 1.112 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5874, allocations: 8.5 kB / 1.112 GB, free: 22.66 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.5874, allocations: 41.52 kB / 1.112 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.5877, allocations: 49.97 kB / 1.112 GB, free: 22.61 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.588, allocations: 148.3 kB / 1.112 GB, free: 22.46 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.588, allocations: 13.38 kB / 1.112 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.588, allocations: 15.12 kB / 1.112 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.5882, allocations: 128.2 kB / 1.112 GB, free: 22.38 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5882, allocations: 0 / 1.112 GB, free: 22.38 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5882, allocations: 5.156 kB / 1.112 GB, free: 22.37 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5882, allocations: 2.281 kB / 1.112 GB, free: 22.37 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.5884, allocations: 91.66 kB / 1.112 GB, free: 22.35 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.5889, allocations: 404.8 kB / 1.113 GB, free: 22.02 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.5891, allocations: 92.94 kB / 1.113 GB, free: 21.96 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/0.5891, allocations: 35.66 kB / 1.113 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5892, allocations: 1.891 kB / 1.113 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.5892, allocations: 32.8 kB / 1.113 GB, free: 21.91 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.5892, allocations: 0 / 1.113 GB, free: 21.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.0002937/0.5895, allocations: 141.5 kB / 1.113 GB, free: 21.84 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.5895, allocations: 53.34 kB / 1.113 GB, free: 21.78 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.5896, allocations: 182.1 kB / 1.113 GB, free: 21.66 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.5896, allocations: 35.02 kB / 1.113 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.5897, allocations: 114.5 kB / 1.113 GB, free: 21.52 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.5897, allocations: 25.33 kB / 1.113 GB, free: 21.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.5897, allocations: 23.73 kB / 1.113 GB, free: 21.47 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.5898, allocations: 322.2 kB / 1.114 GB, free: 21.16 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.5898, allocations: 35.14 kB / 1.114 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.5899, allocations: 32.39 kB / 1.114 GB, free: 21.14 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.59, allocations: 77.53 kB / 1.114 GB, free: 21.11 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.59, allocations: 1.219 kB / 1.114 GB, free: 21.11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001698/0.5902, allocations: 117.7 kB / 1.114 GB, free: 21.04 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.5902, allocations: 8.125 kB / 1.114 GB, free: 21.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5902, allocations: 0.5625 kB / 1.114 GB, free: 21.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5902, allocations: 4 kB / 1.114 GB, free: 21.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.5903, allocations: 22.09 kB / 1.114 GB, free: 21.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5903, allocations: 1.219 kB / 1.114 GB, free: 21.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.5904, allocations: 15.03 kB / 1.114 GB, free: 21.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.5904, allocations: 2.844 kB / 1.114 GB, free: 21.03 MB / 0.9948 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 5.279e-05/0.5904, allocations: 120.1 kB / 1.114 GB, free: 20.91 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.5904, allocations: 14.33 kB / 1.114 GB, free: 20.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.5907, allocations: 133.6 kB / 1.114 GB, free: 20.82 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.5907, allocations: 4.969 kB / 1.114 GB, free: 20.82 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5907, allocations: 0 / 1.114 GB, free: 20.82 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5907, allocations: 2 kB / 1.114 GB, free: 20.82 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.5908, allocations: 181.6 kB / 1.114 GB, free: 20.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5908, allocations: 0 / 1.114 GB, free: 20.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.5909, allocations: 19.39 kB / 1.114 GB, free: 20.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5909, allocations: 1.312 kB / 1.114 GB, free: 20.64 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5909, allocations: 7.484 kB / 1.115 GB, free: 20.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5909, allocations: 0 / 1.115 GB, free: 20.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5909, allocations: 0 / 1.115 GB, free: 20.63 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.5911, allocations: 209.1 kB / 1.115 GB, free: 20.47 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.5911, allocations: 12.83 kB / 1.115 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.5911, allocations: 1.375 kB / 1.115 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.5912, allocations: 14.27 kB / 1.115 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.5912, allocations: 5.906 kB / 1.115 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.5912, allocations: 4.5 kB / 1.115 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.311e-05/0.5913, allocations: 141.2 kB / 1.115 GB, free: 20.36 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5913, allocations: 3.031 kB / 1.115 GB, free: 20.36 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001684/0.5915, allocations: 26.59 kB / 1.115 GB, free: 20.35 MB / 0.9948 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.0003807/0.5919, allocations: 0.7471 MB / 1.116 GB, free: 19.66 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.592, allocations: 77.12 kB / 1.116 GB, free: 19.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.592, allocations: 0 / 1.116 GB, free: 19.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.5921, allocations: 42.61 kB / 1.116 GB, free: 19.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.5924, allocations: 33.06 kB / 1.116 GB, free: 19.61 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.5938, allocations: 1.762 MB / 1.117 GB, free: 18.23 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.803e-05/0.5939, allocations: 91.16 kB / 1.118 GB, free: 18.16 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.17e-05/0.594, allocations: 15.3 kB / 1.118 GB, free: 18.15 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.5941, allocations: 37.58 kB / 1.118 GB, free: 18.13 MB / 0.9948 GB Notification: Performance of SimCode: time 7.21e-07/0.5941, allocations: 0 / 1.118 GB, free: 18.13 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.6139, allocations: 3.998 MB / 1.122 GB, free: 17.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.954, allocations: 1.438 kB / 1.122 GB, free: 17.09 MB / 0.9948 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv","/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] "Error: Could not read variable masExc.TSur in file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.TSur from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.mWat_flow in file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.mWat_flow from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.Gc in file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.Gc from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.XInf in file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.XInf from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.00042868591845]