Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_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.001084/0.001084, allocations: 112.5 kB / 15.73 MB, free: 76 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.001133/0.001133, allocations: 191.1 kB / 16.67 MB, free: 6.543 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.566/2.566, allocations: 469.4 MB / 0.7421 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 60.12 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2832, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8213/1.105, allocations: 214.2 MB / 1.429 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01269/1.117, allocations: 7.058 MB / 1.436 GB, free: 7.461 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/1.12, allocations: 43.62 kB / 1.436 GB, free: 7.445 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/1.122, allocations: 0.8113 MB / 1.437 GB, free: 6.773 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008074/1.13, allocations: 2.631 MB / 1.439 GB, free: 4.766 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003549/1.134, allocations: 1.175 MB / 1.44 GB, free: 3.895 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004553/1.138, allocations: 2.826 MB / 1.443 GB, free: 1.133 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/1.141, allocations: 1.078 MB / 1.444 GB, free: 40 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004955/1.145, allocations: 2.059 MB / 1.446 GB, free: 13.97 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/1.148, allocations: 0.9407 MB / 1.447 GB, free: 13.04 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004042/1.148, allocations: 120 kB / 1.447 GB, free: 12.92 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004675/1.153, allocations: 2.459 MB / 1.45 GB, free: 10.46 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006149/1.154, allocations: 426.7 kB / 1.45 GB, free: 10.04 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/1.155, allocations: 0.6882 MB / 1.451 GB, free: 9.348 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004757/1.16, allocations: 2.5 MB / 1.453 GB, free: 6.84 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.16, allocations: 0 / 1.453 GB, free: 6.84 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.342e-06/1.16, allocations: 4 kB / 1.453 GB, free: 6.836 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.4e-05/1.16, allocations: 0 / 1.453 GB, free: 6.836 MB / 1.139 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.005069/1.165, allocations: 1.892 MB / 1.455 GB, free: 4.879 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.165, allocations: 8.031 kB / 1.455 GB, free: 4.871 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/1.165, allocations: 135.1 kB / 1.455 GB, free: 4.73 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/1.168, allocations: 0.5416 MB / 1.456 GB, free: 4.188 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/1.171, allocations: 1.008 MB / 1.457 GB, free: 3.137 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-05/1.171, allocations: 66 kB / 1.457 GB, free: 3.074 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/1.171, allocations: 84 kB / 1.457 GB, free: 2.992 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/1.174, allocations: 1.221 MB / 1.458 GB, free: 1.766 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/1.174, allocations: 0 / 1.458 GB, free: 1.766 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/1.175, allocations: 35.94 kB / 1.458 GB, free: 1.73 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-05/1.175, allocations: 45.98 kB / 1.458 GB, free: 1.684 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/1.178, allocations: 1.53 MB / 1.46 GB, free: 156 kB / 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.007709/1.186, allocations: 4.051 MB / 1.464 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/1.189, allocations: 0.9662 MB / 1.464 GB, free: 10.85 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/1.19, allocations: 0.656 MB / 1.465 GB, free: 10.19 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/1.191, allocations: 0.6125 MB / 1.466 GB, free: 9.465 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/1.191, allocations: 51.2 kB / 1.466 GB, free: 9.406 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 3.827e-06/1.191, allocations: 0 / 1.466 GB, free: 9.406 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.005133/1.197, allocations: 1.781 MB / 1.467 GB, free: 7.617 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/1.197, allocations: 68.05 kB / 1.468 GB, free: 7.539 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/1.198, allocations: 0.8193 MB / 1.468 GB, free: 6.695 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/1.198, allocations: 41.7 kB / 1.468 GB, free: 6.648 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/1.198, allocations: 457.1 kB / 1.469 GB, free: 6.195 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/1.199, allocations: 265.7 kB / 1.469 GB, free: 5.934 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/1.199, allocations: 154.5 kB / 1.469 GB, free: 5.777 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.199, allocations: 333.9 kB / 1.47 GB, free: 5.445 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/1.201, allocations: 0.5278 MB / 1.47 GB, free: 4.914 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.202, allocations: 0.6451 MB / 1.471 GB, free: 4.242 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/1.205, allocations: 1.123 MB / 1.472 GB, free: 3.098 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.205, allocations: 3.938 kB / 1.472 GB, free: 3.094 MB / 1.154 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003367/1.208, allocations: 1.33 MB / 1.473 GB, free: 1.75 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/1.208, allocations: 41.75 kB / 1.473 GB, free: 1.703 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.208, allocations: 0 / 1.473 GB, free: 1.703 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.208, allocations: 7.938 kB / 1.473 GB, free: 1.695 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.21, allocations: 253.2 kB / 1.473 GB, free: 1.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007073/1.211, allocations: 1.191 MB / 1.475 GB, free: 216 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/1.212, allocations: 143.6 kB / 1.475 GB, free: 72 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.212, allocations: 31.97 kB / 1.475 GB, free: 40 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001736/1.214, allocations: 0.7517 MB / 1.475 GB, free: 15.28 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001456/1.215, allocations: 0.6395 MB / 1.476 GB, free: 14.61 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002689/1.218, allocations: 1.107 MB / 1.477 GB, free: 13.49 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/1.218, allocations: 0 / 1.477 GB, free: 13.49 MB / 1.17 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003324/1.221, allocations: 1.326 MB / 1.478 GB, free: 12.15 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/1.221, allocations: 41.77 kB / 1.478 GB, free: 12.1 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.221, allocations: 3.938 kB / 1.478 GB, free: 12.1 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/1.221, allocations: 7.984 kB / 1.478 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.222, allocations: 219.7 kB / 1.479 GB, free: 11.88 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.222, allocations: 4.5 kB / 1.479 GB, free: 11.87 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/1.224, allocations: 131.6 kB / 1.479 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/1.224, allocations: 31.97 kB / 1.479 GB, free: 11.71 MB / 1.17 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.0003227/1.224, allocations: 220.1 kB / 1.479 GB, free: 11.49 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/1.224, allocations: 115.2 kB / 1.479 GB, free: 11.38 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/1.228, allocations: 1.345 MB / 1.48 GB, free: 10.02 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.228, allocations: 12 kB / 1.481 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/1.228, allocations: 0 / 1.481 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.228, allocations: 3.984 kB / 1.481 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005701/1.233, allocations: 2.835 MB / 1.483 GB, free: 7.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/1.233, allocations: 4.469 kB / 1.483 GB, free: 7.066 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.235, allocations: 239.5 kB / 1.484 GB, free: 6.832 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/1.235, allocations: 11.94 kB / 1.484 GB, free: 6.82 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/1.235, allocations: 23.98 kB / 1.484 GB, free: 6.797 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006389/1.235, allocations: 1.192 MB / 1.485 GB, free: 5.559 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.236, allocations: 11.94 kB / 1.485 GB, free: 5.547 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/1.239, allocations: 1.444 MB / 1.486 GB, free: 4.039 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/1.24, allocations: 324 kB / 1.486 GB, free: 3.703 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/1.24, allocations: 16 kB / 1.486 GB, free: 3.688 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.241, allocations: 103.9 kB / 1.487 GB, free: 3.586 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.241, allocations: 60.44 kB / 1.487 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/1.241, allocations: 35.97 kB / 1.487 GB, free: 3.492 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007736/1.242, allocations: 0.57 MB / 1.487 GB, free: 2.91 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.11e-07/1.242, allocations: 0 / 1.487 GB, free: 2.91 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001418/1.243, allocations: 0.542 MB / 1.488 GB, free: 2.367 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.003994/1.247, allocations: 2.169 MB / 1.49 GB, free: 144 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005151/1.253, allocations: 2.018 MB / 1.492 GB, free: 14.1 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.253, allocations: 0 / 1.492 GB, free: 14.1 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/1.254, allocations: 0.6558 MB / 1.492 GB, free: 13.45 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/1.257, allocations: 0.4984 MB / 1.493 GB, free: 12.95 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.273, allocations: 8.678 MB / 1.501 GB, free: 4.031 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/1.274, allocations: 1.098 MB / 1.502 GB, free: 2.906 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001435/1.275, allocations: 383.5 kB / 1.503 GB, free: 2.527 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006403/1.276, allocations: 395.3 kB / 1.503 GB, free: 2.141 MB / 1.186 GB Notification: Performance of SimCode: time 6.91e-07/1.276, allocations: 0 / 1.503 GB, free: 2.141 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05275/1.329, allocations: 28.87 MB / 1.531 GB, free: 5.707 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.76, allocations: 10.25 kB / 1.531 GB, free: 5.699 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches