Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example4",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.001593/0.001593, allocations: 108 kB / 15.61 MB, free: 152 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.002008/0.002008, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.582/2.582, allocations: 437.1 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.5533, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.226/0.7793, allocations: 237.6 MB / 1.249 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.505/1.284, allocations: 15.75 MB / 1.265 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/1.287, allocations: 59.66 kB / 1.265 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/1.29, allocations: 1.038 MB / 1.266 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007351/1.297, allocations: 2.983 MB / 1.269 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004448/1.302, allocations: 1.661 MB / 1.27 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005448/1.307, allocations: 3.432 MB / 1.274 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/1.309, allocations: 1.293 MB / 1.275 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006161/1.316, allocations: 2.481 MB / 1.277 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/1.318, allocations: 1.088 MB / 1.279 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000481/1.319, allocations: 118.9 kB / 1.279 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006843/1.326, allocations: 3.091 MB / 1.282 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008127/1.327, allocations: 478.9 kB / 1.282 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001962/1.329, allocations: 0.8054 MB / 1.283 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006159/1.335, allocations: 2.94 MB / 1.286 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.335, allocations: 1.531 kB / 1.286 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/1.335, allocations: 2.531 kB / 1.286 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.244e-05/1.335, allocations: 3.094 kB / 1.286 GB, free: 1.477 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004632/1.339, allocations: 2 MB / 1.288 GB, free: 16.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.34, allocations: 8.75 kB / 1.288 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/1.34, allocations: 153.8 kB / 1.288 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002943/1.343, allocations: 0.4962 MB / 1.288 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/1.345, allocations: 1.107 MB / 1.289 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009615/1.346, allocations: 247.1 kB / 1.29 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/1.346, allocations: 98.06 kB / 1.29 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/1.348, allocations: 1.367 MB / 1.291 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/1.348, allocations: 13.59 kB / 1.291 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.348, allocations: 40.97 kB / 1.291 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/1.349, allocations: 47.36 kB / 1.291 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/1.351, allocations: 1.075 MB / 1.292 GB, free: 15.56 MB / 1.014 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.007752/1.359, allocations: 7.44 MB / 1.3 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/1.36, allocations: 0.5695 MB / 1.3 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/1.361, allocations: 268.9 kB / 1.3 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/1.361, allocations: 284.7 kB / 1.301 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/1.361, allocations: 45 kB / 1.301 GB, free: 10.24 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.205e-06/1.361, allocations: 0.8438 kB / 1.301 GB, free: 10.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002451/1.364, allocations: 0.8696 MB / 1.301 GB, free: 10.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/1.364, allocations: 57.66 kB / 1.302 GB, free: 10.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/1.366, allocations: 1.397 MB / 1.303 GB, free: 9.883 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/1.366, allocations: 37.98 kB / 1.303 GB, free: 9.852 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004518/1.366, allocations: 0.7023 MB / 1.304 GB, free: 9.586 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.605e-05/1.366, allocations: 121.6 kB / 1.304 GB, free: 9.516 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/1.367, allocations: 168.6 kB / 1.304 GB, free: 9.488 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.367, allocations: 332.7 kB / 1.304 GB, free: 9.184 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008649/1.368, allocations: 326.2 kB / 1.305 GB, free: 9.176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/1.369, allocations: 0.7067 MB / 1.305 GB, free: 8.711 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/1.37, allocations: 0.9575 MB / 1.306 GB, free: 8.262 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.37, allocations: 5.094 kB / 1.306 GB, free: 8.262 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002387/1.373, allocations: 1.072 MB / 1.307 GB, free: 8.133 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.373, allocations: 14.09 kB / 1.307 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/1.373, allocations: 10.81 kB / 1.307 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/1.373, allocations: 15.53 kB / 1.307 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/1.374, allocations: 215.1 kB / 1.307 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/1.374, allocations: 21.59 kB / 1.307 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.375, allocations: 192 kB / 1.308 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.955e-05/1.375, allocations: 51.42 kB / 1.308 GB, free: 8.051 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/1.377, allocations: 0.5841 MB / 1.308 GB, free: 7.957 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001093/1.378, allocations: 0.6941 MB / 1.309 GB, free: 7.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001934/1.38, allocations: 0.9525 MB / 1.31 GB, free: 7.031 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.726e-06/1.38, allocations: 1.875 kB / 1.31 GB, free: 7.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002532/1.382, allocations: 1.076 MB / 1.311 GB, free: 6.902 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.382, allocations: 12.23 kB / 1.311 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.382, allocations: 14.91 kB / 1.311 GB, free: 6.898 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.382, allocations: 17.75 kB / 1.311 GB, free: 6.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008311/1.383, allocations: 210.2 kB / 1.311 GB, free: 6.895 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/1.383, allocations: 25.23 kB / 1.311 GB, free: 6.895 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.385, allocations: 141.7 kB / 1.311 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/1.385, allocations: 44.03 kB / 1.311 GB, free: 6.867 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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 0.0002306/1.385, allocations: 233 kB / 1.312 GB, free: 6.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/1.385, allocations: 145.2 kB / 1.312 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/1.387, allocations: 0.6669 MB / 1.312 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/1.387, allocations: 8.344 kB / 1.312 GB, free: 6.508 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.387, allocations: 0 / 1.312 GB, free: 6.508 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/1.387, allocations: 3 kB / 1.312 GB, free: 6.508 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/1.391, allocations: 1.919 MB / 1.314 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.391, allocations: 9.312 kB / 1.314 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/1.391, allocations: 93.39 kB / 1.314 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/1.391, allocations: 8.969 kB / 1.314 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/1.391, allocations: 20.06 kB / 1.314 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.391, allocations: 7.844 kB / 1.314 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.391, allocations: 8.469 kB / 1.314 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/1.393, allocations: 0.8094 MB / 1.315 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005157/1.393, allocations: 302.4 kB / 1.316 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/1.394, allocations: 8.344 kB / 1.316 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.395, allocations: 76.58 kB / 1.316 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/1.395, allocations: 36.44 kB / 1.316 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/1.395, allocations: 22.56 kB / 1.316 GB, free: 5.465 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001397/1.396, allocations: 1.016 MB / 1.317 GB, free: 5.352 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.396, allocations: 0 / 1.317 GB, free: 5.352 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001838/1.398, allocations: 0.5752 MB / 1.317 GB, free: 5.305 MB / 1.014 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 (32): * Single equations (assignments): 32 * 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.002254/1.4, allocations: 1.522 MB / 1.319 GB, free: 4.391 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002908/1.403, allocations: 1.182 MB / 1.32 GB, free: 4.344 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.403, allocations: 3.094 kB / 1.32 GB, free: 4.344 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006996/1.404, allocations: 264.9 kB / 1.32 GB, free: 4.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/1.407, allocations: 0.7483 MB / 1.321 GB, free: 4.199 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.425, allocations: 10.68 MB / 1.331 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/1.425, allocations: 1.186 MB / 1.332 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001763/1.427, allocations: 386.7 kB / 1.333 GB, free: 14.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005775/1.428, allocations: 0.4903 MB / 1.333 GB, free: 14.91 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/1.428, allocations: 0 / 1.333 GB, free: 14.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06099/1.489, allocations: 35.41 MB / 1.368 GB, free: 13.46 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/9.286, allocations: 14.25 kB / 1.368 GB, free: 13.45 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_10_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches