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.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: "" <> 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.0107/0.0107, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.001972/0.001972, allocations: 194.5 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.183/2.183, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 4.212/4.212, allocations: 437.1 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 64.11 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37/1.372, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4745/1.847, allocations: 214.2 MB / 1.375 GB, free: 12.76 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01687/1.864, allocations: 7.042 MB / 1.382 GB, free: 5.699 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/1.867, allocations: 43.75 kB / 1.382 GB, free: 5.656 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003457/1.87, allocations: 0.7843 MB / 1.383 GB, free: 4.867 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/1.88, allocations: 2.53 MB / 1.385 GB, free: 2.328 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00486/1.885, allocations: 1.173 MB / 1.387 GB, free: 1.164 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006855/1.892, allocations: 2.825 MB / 1.389 GB, free: 14.33 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/1.895, allocations: 1.087 MB / 1.39 GB, free: 13.23 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007341/1.902, allocations: 1.985 MB / 1.392 GB, free: 11.23 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003977/1.907, allocations: 0.9365 MB / 1.393 GB, free: 10.3 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005324/1.907, allocations: 120 kB / 1.393 GB, free: 10.18 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008761/1.916, allocations: 2.444 MB / 1.396 GB, free: 7.734 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/1.917, allocations: 434.6 kB / 1.396 GB, free: 7.309 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001796/1.919, allocations: 0.692 MB / 1.397 GB, free: 6.613 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008312/1.927, allocations: 2.496 MB / 1.399 GB, free: 4.109 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.927, allocations: 0 / 1.399 GB, free: 4.109 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.066e-06/1.927, allocations: 0 / 1.399 GB, free: 4.109 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.193e-05/1.927, allocations: 0 / 1.399 GB, free: 4.109 MB / 1.123 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.007086/1.934, allocations: 1.888 MB / 1.401 GB, free: 2.156 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 7.251e-05/1.935, allocations: 12.91 kB / 1.401 GB, free: 2.145 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002503/1.935, allocations: 135.1 kB / 1.401 GB, free: 2.004 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004462/1.939, allocations: 0.5416 MB / 1.402 GB, free: 1.461 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/1.942, allocations: 1.012 MB / 1.403 GB, free: 416 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/1.943, allocations: 69.92 kB / 1.403 GB, free: 348 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/1.943, allocations: 80 kB / 1.403 GB, free: 268 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004081/1.947, allocations: 1.229 MB / 1.404 GB, free: 15.03 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.947, allocations: 0 / 1.404 GB, free: 15.03 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/1.947, allocations: 32 kB / 1.404 GB, free: 15 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/1.947, allocations: 45.98 kB / 1.404 GB, free: 14.95 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005343/1.952, allocations: 1.53 MB / 1.406 GB, free: 13.42 MB / 1.139 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.01005/1.963, allocations: 4.042 MB / 1.41 GB, free: 9.098 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003583/1.966, allocations: 0.9756 MB / 1.411 GB, free: 8.117 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/1.968, allocations: 0.6496 MB / 1.411 GB, free: 7.465 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/1.97, allocations: 0.6125 MB / 1.412 GB, free: 6.742 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/1.97, allocations: 43.22 kB / 1.412 GB, free: 6.691 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 4.589e-06/1.97, allocations: 0 / 1.412 GB, free: 6.691 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.006928/1.977, allocations: 1.789 MB / 1.414 GB, free: 4.895 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/1.977, allocations: 60.06 kB / 1.414 GB, free: 4.824 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/1.979, allocations: 0.8271 MB / 1.415 GB, free: 3.973 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/1.979, allocations: 45.64 kB / 1.415 GB, free: 3.922 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005512/1.979, allocations: 445.1 kB / 1.415 GB, free: 3.48 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/1.98, allocations: 273.6 kB / 1.415 GB, free: 3.211 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004344/1.98, allocations: 154.5 kB / 1.415 GB, free: 3.055 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.98, allocations: 330 kB / 1.416 GB, free: 2.727 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/1.982, allocations: 0.5277 MB / 1.416 GB, free: 2.195 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/1.984, allocations: 0.6511 MB / 1.417 GB, free: 1.516 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/1.988, allocations: 1.111 MB / 1.418 GB, free: 396 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/1.988, allocations: 4 kB / 1.418 GB, free: 392 kB / 1.139 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004969/1.993, allocations: 1.326 MB / 1.419 GB, free: 15.04 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/1.994, allocations: 37.69 kB / 1.419 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.994, allocations: 4.062 kB / 1.419 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/1.994, allocations: 4 kB / 1.419 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/1.996, allocations: 259.5 kB / 1.42 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/1.997, allocations: 1.191 MB / 1.421 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/1.998, allocations: 143.6 kB / 1.421 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/1.999, allocations: 35.97 kB / 1.421 GB, free: 13.32 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002543/2.001, allocations: 0.7517 MB / 1.422 GB, free: 12.57 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002088/2.003, allocations: 0.6395 MB / 1.422 GB, free: 11.9 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004344/2.008, allocations: 1.107 MB / 1.423 GB, free: 10.77 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.199e-06/2.008, allocations: 4 kB / 1.423 GB, free: 10.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.005445/2.013, allocations: 1.326 MB / 1.425 GB, free: 9.426 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.549e-05/2.013, allocations: 33.64 kB / 1.425 GB, free: 9.387 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/2.013, allocations: 8.062 kB / 1.425 GB, free: 9.379 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/2.013, allocations: 4 kB / 1.425 GB, free: 9.375 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/2.015, allocations: 223.7 kB / 1.425 GB, free: 9.156 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/2.015, allocations: 4 kB / 1.425 GB, free: 9.152 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/2.017, allocations: 131.6 kB / 1.425 GB, free: 9.023 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/2.017, allocations: 35.97 kB / 1.425 GB, free: 8.988 MB / 1.154 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.000479/2.018, allocations: 224.1 kB / 1.425 GB, free: 8.762 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/2.018, allocations: 111.2 kB / 1.425 GB, free: 8.652 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/2.023, allocations: 1.347 MB / 1.427 GB, free: 7.297 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/2.023, allocations: 8 kB / 1.427 GB, free: 7.289 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/2.024, allocations: 4 kB / 1.427 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/2.024, allocations: 3.984 kB / 1.427 GB, free: 7.281 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007696/2.031, allocations: 2.835 MB / 1.429 GB, free: 4.344 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/2.031, allocations: 7.938 kB / 1.429 GB, free: 4.336 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/2.033, allocations: 236.1 kB / 1.43 GB, free: 4.105 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.618e-05/2.033, allocations: 7.938 kB / 1.43 GB, free: 4.098 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-05/2.033, allocations: 27.98 kB / 1.43 GB, free: 4.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009413/2.034, allocations: 1.192 MB / 1.431 GB, free: 2.832 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/2.034, allocations: 4 kB / 1.431 GB, free: 2.828 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/2.039, allocations: 1.448 MB / 1.432 GB, free: 1.316 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009124/2.04, allocations: 320 kB / 1.433 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/2.04, allocations: 20 kB / 1.433 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/2.042, allocations: 107.8 kB / 1.433 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/2.042, allocations: 56.44 kB / 1.433 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/2.042, allocations: 39.97 kB / 1.433 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00134/2.043, allocations: 0.5739 MB / 1.433 GB, free: 184 kB / 1.154 GB Notification: Performance of sort global known variables: time 2.61e-07/2.043, allocations: 0 / 1.433 GB, free: 184 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.002325/2.046, allocations: 0.5343 MB / 1.434 GB, free: 15.64 MB / 1.17 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.006343/2.052, allocations: 2.18 MB / 1.436 GB, free: 13.41 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008218/2.06, allocations: 2.006 MB / 1.438 GB, free: 11.38 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/2.06, allocations: 4.062 kB / 1.438 GB, free: 11.38 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002627/2.063, allocations: 0.6636 MB / 1.439 GB, free: 10.71 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/2.066, allocations: 0.4945 MB / 1.439 GB, free: 10.22 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/2.092, allocations: 8.679 MB / 1.448 GB, free: 1.305 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/2.093, allocations: 1.091 MB / 1.449 GB, free: 192 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002491/2.096, allocations: 391.5 kB / 1.449 GB, free: 15.8 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/2.097, allocations: 391.3 kB / 1.449 GB, free: 15.42 MB / 1.186 GB Notification: Performance of SimCode: time 7.92e-07/2.097, allocations: 0 / 1.449 GB, free: 15.42 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/2.212, allocations: 28.88 MB / 1.478 GB, free: 2.895 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/17.32, allocations: 12.42 kB / 1.478 GB, free: 2.887 MB / 1.201 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.csv --start-time 0 --stop-time 360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.144 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.csv","/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