Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_10_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_10_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009165, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007852/0.007852, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.945/2.945, allocations: 437.8 MB / 0.7121 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003768, allocations: 12 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7735, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.218/0.9915, allocations: 209.2 MB / 1.227 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01099/1.003, allocations: 7.063 MB / 1.234 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/1.004, allocations: 35.75 kB / 1.234 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/1.006, allocations: 0.6567 MB / 1.235 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006353/1.013, allocations: 2.366 MB / 1.237 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/1.015, allocations: 1.056 MB / 1.238 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.6626/1.678, allocations: 3.741 MB / 1.242 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/1.68, allocations: 0.8995 MB / 1.243 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005226/1.685, allocations: 1.754 MB / 1.245 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/1.689, allocations: 0.9234 MB / 1.246 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002996/1.689, allocations: 45.72 kB / 1.246 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006618/1.695, allocations: 2.797 MB / 1.248 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/1.697, allocations: 343.7 kB / 1.249 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00196/1.698, allocations: 0.6315 MB / 1.249 GB, free: 20.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006944/1.705, allocations: 2.524 MB / 1.252 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.706, allocations: 0 / 1.252 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.116e-06/1.706, allocations: 0.5312 kB / 1.252 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.216e-05/1.706, allocations: 0 / 1.252 GB, free: 20.28 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006019/1.712, allocations: 1.604 MB / 1.253 GB, free: 19.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/1.712, allocations: 9.688 kB / 1.253 GB, free: 19.4 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003818/1.712, allocations: 132 kB / 1.253 GB, free: 19.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/1.716, allocations: 0.5837 MB / 1.254 GB, free: 19.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/1.719, allocations: 0.9608 MB / 1.255 GB, free: 18.92 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007637/1.72, allocations: 204.8 kB / 1.255 GB, free: 18.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/1.72, allocations: 83.5 kB / 1.255 GB, free: 18.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/1.724, allocations: 1.272 MB / 1.256 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/1.724, allocations: 0 / 1.256 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.724, allocations: 30.41 kB / 1.256 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.77e-05/1.724, allocations: 47.8 kB / 1.256 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004309/1.728, allocations: 1.617 MB / 1.258 GB, free: 18.79 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007474/1.736, allocations: 4.085 MB / 1.262 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/1.738, allocations: 1.049 MB / 1.263 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/1.74, allocations: 0.7009 MB / 1.264 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.741, allocations: 0.6368 MB / 1.264 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/1.741, allocations: 45.47 kB / 1.264 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/1.741, allocations: 1.469 kB / 1.264 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.005384/1.747, allocations: 1.92 MB / 1.266 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.747, allocations: 58.78 kB / 1.266 GB, free: 16.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.748, allocations: 0.8221 MB / 1.267 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/1.748, allocations: 42.98 kB / 1.267 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/1.748, allocations: 447.3 kB / 1.268 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/1.749, allocations: 257 kB / 1.268 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.749, allocations: 58.75 kB / 1.268 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.749, allocations: 336.8 kB / 1.268 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/1.75, allocations: 0.5641 MB / 1.269 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/1.752, allocations: 0.6908 MB / 1.269 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/1.754, allocations: 1.203 MB / 1.271 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.754, allocations: 0 / 1.271 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003286/1.758, allocations: 1.422 MB / 1.272 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.636e-05/1.758, allocations: 149.6 kB / 1.272 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.758, allocations: 3.531 kB / 1.272 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.758, allocations: 3.125 kB / 1.272 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.759, allocations: 275.7 kB / 1.272 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007094/1.76, allocations: 1.193 MB / 1.274 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.762, allocations: 196.3 kB / 1.274 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/1.762, allocations: 34.56 kB / 1.274 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/1.762, allocations: 4.781 kB / 1.274 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003058/1.765, allocations: 1.304 MB / 1.275 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.765, allocations: 4.062 kB / 1.275 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/1.765, allocations: 6.719 kB / 1.275 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.766, allocations: 249.8 kB / 1.275 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.766, allocations: 6.844 kB / 1.275 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.768, allocations: 189.8 kB / 1.276 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-05/1.768, allocations: 36.91 kB / 1.276 GB, free: 13.56 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006729/1.768, allocations: 371.6 kB / 1.276 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/1.769, allocations: 106.8 kB / 1.276 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/1.772, allocations: 1.437 MB / 1.277 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.772, allocations: 12.53 kB / 1.277 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.772, allocations: 0 / 1.277 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.772, allocations: 2.859 kB / 1.277 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005142/1.777, allocations: 2.934 MB / 1.28 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.777, allocations: 9.344 kB / 1.28 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.778, allocations: 251.2 kB / 1.281 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/1.778, allocations: 6.062 kB / 1.281 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/1.778, allocations: 29.05 kB / 1.281 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005435/1.779, allocations: 1.191 MB / 1.282 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.779, allocations: 6.438 kB / 1.282 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/1.782, allocations: 1.537 MB / 1.283 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000648/1.783, allocations: 311.2 kB / 1.284 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/1.783, allocations: 25.45 kB / 1.284 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.784, allocations: 163.1 kB / 1.284 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.784, allocations: 62.33 kB / 1.284 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/1.784, allocations: 34.25 kB / 1.284 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000707/1.785, allocations: 0.5744 MB / 1.284 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.785, allocations: 1.969 kB / 1.284 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001454/1.787, allocations: 0.532 MB / 1.285 GB, free: 10.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004115/1.791, allocations: 2.26 MB / 1.287 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005297/1.796, allocations: 2.133 MB / 1.289 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.527e-06/1.796, allocations: 3.031 kB / 1.289 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/1.798, allocations: 0.7118 MB / 1.29 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/1.801, allocations: 0.5139 MB / 1.29 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/1.82, allocations: 9.667 MB / 1.3 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/1.821, allocations: 1.089 MB / 1.301 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00187/1.823, allocations: 396.9 kB / 1.301 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005942/1.823, allocations: 396.6 kB / 1.302 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.823, allocations: 0 / 1.302 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04994/1.873, allocations: 27.72 MB / 1.329 GB, free: 12.78 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/1.874, allocations: 288.1 kB / 1.329 GB, free: 12.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/4.535, allocations: 0 / 1.329 GB, free: 12.4 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches