Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_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.001689/0.001689, 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.002098/0.002098, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 469.4 MB / 0.742 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 64.75 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.324, allocations: 159.1 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.9587/1.283, allocations: 237.6 MB / 1.296 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02363/1.306, allocations: 15.78 MB / 1.311 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00355/1.31, allocations: 61.84 kB / 1.311 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003924/1.314, allocations: 1.036 MB / 1.312 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01204/1.326, allocations: 2.981 MB / 1.315 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006255/1.332, allocations: 1.672 MB / 1.317 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006112/1.339, allocations: 3.43 MB / 1.32 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/1.341, allocations: 1.291 MB / 1.321 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007216/1.348, allocations: 2.478 MB / 1.324 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003/1.351, allocations: 1.084 MB / 1.325 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005057/1.352, allocations: 117.4 kB / 1.325 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007944/1.36, allocations: 3.092 MB / 1.328 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/1.361, allocations: 480.2 kB / 1.328 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002/1.363, allocations: 0.8102 MB / 1.329 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007503/1.371, allocations: 2.935 MB / 1.332 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/1.371, allocations: 0.8125 kB / 1.332 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.255e-06/1.371, allocations: 0 / 1.332 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.87e-05/1.371, allocations: 0 / 1.332 GB, free: 2.676 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.004584/1.375, allocations: 2.003 MB / 1.334 GB, free: 17.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.375, allocations: 11.44 kB / 1.334 GB, free: 17.63 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002122/1.376, allocations: 153.5 kB / 1.334 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/1.379, allocations: 0.4993 MB / 1.335 GB, free: 17.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/1.382, allocations: 1.117 MB / 1.336 GB, free: 17.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009539/1.383, allocations: 244.4 kB / 1.336 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/1.383, allocations: 95.22 kB / 1.336 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/1.386, allocations: 1.368 MB / 1.337 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/1.387, allocations: 9.922 kB / 1.337 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/1.387, allocations: 39.88 kB / 1.337 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-05/1.387, allocations: 47.5 kB / 1.337 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/1.389, allocations: 1.079 MB / 1.339 GB, free: 16.67 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.008494/1.398, allocations: 7.443 MB / 1.346 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/1.4, allocations: 0.569 MB / 1.346 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006604/1.4, allocations: 273.2 kB / 1.347 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003968/1.401, allocations: 287.8 kB / 1.347 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.401, allocations: 40.84 kB / 1.347 GB, free: 11.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.815e-06/1.401, allocations: 0 / 1.347 GB, free: 11.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002597/1.403, allocations: 0.8582 MB / 1.348 GB, free: 11.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/1.403, allocations: 56.34 kB / 1.348 GB, free: 11.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/1.405, allocations: 1.398 MB / 1.349 GB, free: 10.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-05/1.405, allocations: 36.95 kB / 1.349 GB, free: 10.85 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/1.406, allocations: 0.6968 MB / 1.35 GB, free: 10.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.406, allocations: 123.8 kB / 1.35 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/1.406, allocations: 165.4 kB / 1.35 GB, free: 10.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.406, allocations: 336.7 kB / 1.35 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008737/1.407, allocations: 322.4 kB / 1.351 GB, free: 10.16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.408, allocations: 0.7054 MB / 1.351 GB, free: 9.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/1.41, allocations: 0.9584 MB / 1.352 GB, free: 9.219 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.41, allocations: 6.031 kB / 1.352 GB, free: 9.215 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00244/1.412, allocations: 1.079 MB / 1.353 GB, free: 9.086 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.412, allocations: 10.12 kB / 1.353 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.412, allocations: 13.41 kB / 1.354 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/1.413, allocations: 17.91 kB / 1.354 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/1.413, allocations: 206 kB / 1.354 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/1.413, allocations: 31.55 kB / 1.354 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.415, allocations: 189.9 kB / 1.354 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-05/1.415, allocations: 49.2 kB / 1.354 GB, free: 9.008 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00128/1.416, allocations: 0.584 MB / 1.355 GB, free: 8.824 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001106/1.417, allocations: 0.7014 MB / 1.355 GB, free: 8.242 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001775/1.419, allocations: 0.9505 MB / 1.356 GB, free: 7.613 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.873e-06/1.419, allocations: 8.625 kB / 1.356 GB, free: 7.609 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002426/1.422, allocations: 1.075 MB / 1.357 GB, free: 7.281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.422, allocations: 11.16 kB / 1.357 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.422, allocations: 10.66 kB / 1.357 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/1.422, allocations: 15.5 kB / 1.357 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/1.422, allocations: 209.6 kB / 1.357 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/1.422, allocations: 22.31 kB / 1.357 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.424, allocations: 145 kB / 1.358 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/1.424, allocations: 48.75 kB / 1.358 GB, free: 7.223 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.0002832/1.424, allocations: 243.9 kB / 1.358 GB, free: 7.004 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/1.424, allocations: 140.3 kB / 1.358 GB, free: 6.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/1.426, allocations: 0.6574 MB / 1.359 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.426, allocations: 3.5 kB / 1.359 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.426, allocations: 0 / 1.359 GB, free: 6.688 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.426, allocations: 5.719 kB / 1.359 GB, free: 6.684 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/1.43, allocations: 1.928 MB / 1.361 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.43, allocations: 5.438 kB / 1.361 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/1.43, allocations: 94.67 kB / 1.361 GB, free: 5.738 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/1.43, allocations: 9.219 kB / 1.361 GB, free: 5.734 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/1.43, allocations: 14.12 kB / 1.361 GB, free: 5.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.43, allocations: 7.141 kB / 1.361 GB, free: 5.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.43, allocations: 5.062 kB / 1.361 GB, free: 5.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/1.432, allocations: 0.8197 MB / 1.361 GB, free: 5.262 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/1.432, allocations: 295 kB / 1.362 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.433, allocations: 15.59 kB / 1.362 GB, free: 5.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.434, allocations: 69.72 kB / 1.362 GB, free: 5.031 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/1.434, allocations: 36.77 kB / 1.362 GB, free: 5.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/1.434, allocations: 21.78 kB / 1.362 GB, free: 5.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001455/1.435, allocations: 1.013 MB / 1.363 GB, free: 4.633 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.61e-07/1.435, allocations: 0 / 1.363 GB, free: 4.633 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001951/1.437, allocations: 0.5773 MB / 1.363 GB, free: 4.555 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.002398/1.44, allocations: 1.53 MB / 1.365 GB, free: 3.508 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003096/1.443, allocations: 1.185 MB / 1.366 GB, free: 3.234 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.443, allocations: 2.125 kB / 1.366 GB, free: 3.234 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007012/1.443, allocations: 256.9 kB / 1.366 GB, free: 3.184 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/1.447, allocations: 0.7424 MB / 1.367 GB, free: 2.945 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/1.465, allocations: 10.69 MB / 1.378 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007158/1.466, allocations: 1.18 MB / 1.379 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001705/1.468, allocations: 397.8 kB / 1.379 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006926/1.469, allocations: 496.4 kB / 1.38 GB, free: 10.47 MB / 1.029 GB Notification: Performance of SimCode: time 7.52e-07/1.469, allocations: 0 / 1.38 GB, free: 10.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06369/1.532, allocations: 35.41 MB / 1.414 GB, free: 12.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/9.678, allocations: 0 / 1.414 GB, free: 12.55 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches