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.005082/0.005082, allocations: 100.1 kB / 15.73 MB, free: 6.016 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.001438/0.001438, allocations: 187.6 kB / 16.67 MB, free: 5.934 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.14 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 2.346/2.346, allocations: 437.1 MB / 0.7106 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 63.89 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.625/0.6267, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2285/0.8553, allocations: 237.6 MB / 1.398 GB, free: 5.312 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.8752, allocations: 15.79 MB / 1.414 GB, free: 5.48 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.877, allocations: 59.62 kB / 1.414 GB, free: 5.422 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.8795, allocations: 1.041 MB / 1.415 GB, free: 4.375 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006462/0.886, allocations: 2.98 MB / 1.418 GB, free: 1.383 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.8897, allocations: 1.678 MB / 1.419 GB, free: 15.71 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004271/0.8939, allocations: 3.443 MB / 1.423 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.8956, allocations: 1.287 MB / 1.424 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005222/0.9008, allocations: 2.495 MB / 1.426 GB, free: 8.441 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.9027, allocations: 1.081 MB / 1.427 GB, free: 7.367 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.9029, allocations: 120 kB / 1.427 GB, free: 7.25 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005117/0.9081, allocations: 3.098 MB / 1.43 GB, free: 4.145 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.9085, allocations: 470.5 kB / 1.431 GB, free: 3.684 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008632/0.9094, allocations: 0.8124 MB / 1.432 GB, free: 2.867 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004377/0.9138, allocations: 2.978 MB / 1.435 GB, free: 15.88 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9138, allocations: 0 / 1.435 GB, free: 15.88 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9138, allocations: 0 / 1.435 GB, free: 15.88 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.9138, allocations: 0 / 1.435 GB, free: 15.88 MB / 1.17 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.003246/0.9171, allocations: 2.068 MB / 1.437 GB, free: 13.75 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.9171, allocations: 12.92 kB / 1.437 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.9173, allocations: 156.2 kB / 1.437 GB, free: 13.58 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/0.9198, allocations: 0.4985 MB / 1.437 GB, free: 13.08 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.9219, allocations: 1.181 MB / 1.438 GB, free: 11.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.922, allocations: 78 kB / 1.439 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.9221, allocations: 104 kB / 1.439 GB, free: 11.66 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.9243, allocations: 1.35 MB / 1.44 GB, free: 10.2 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.9243, allocations: 7.938 kB / 1.44 GB, free: 10.19 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.9244, allocations: 40 kB / 1.44 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.423e-05/0.9245, allocations: 45.98 kB / 1.44 GB, free: 10.1 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.9268, allocations: 1.05 MB / 1.441 GB, free: 9.055 MB / 1.17 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.007263/0.934, allocations: 7.4 MB / 1.448 GB, free: 1.18 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.9355, allocations: 0.5347 MB / 1.449 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/0.9361, allocations: 265.2 kB / 1.449 GB, free: 384 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/0.9365, allocations: 295.5 kB / 1.449 GB, free: 32 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.9366, allocations: 38.89 kB / 1.449 GB, free: 15.98 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.963e-06/0.9366, allocations: 3.938 kB / 1.449 GB, free: 15.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.002225/0.9388, allocations: 0.8373 MB / 1.45 GB, free: 15.14 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.9389, allocations: 55.41 kB / 1.45 GB, free: 15.07 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.9406, allocations: 1.395 MB / 1.452 GB, free: 13.66 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/0.9407, allocations: 33.7 kB / 1.452 GB, free: 13.62 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.9413, allocations: 0.7196 MB / 1.452 GB, free: 12.9 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.9414, allocations: 123 kB / 1.452 GB, free: 12.78 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.9416, allocations: 170.5 kB / 1.453 GB, free: 12.6 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9418, allocations: 337.9 kB / 1.453 GB, free: 12.27 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007936/0.9426, allocations: 312.6 kB / 1.453 GB, free: 11.96 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.9437, allocations: 0.6853 MB / 1.454 GB, free: 11.1 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.9454, allocations: 0.9348 MB / 1.455 GB, free: 10 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.9454, allocations: 4 kB / 1.455 GB, free: 10 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002211/0.9476, allocations: 1.059 MB / 1.456 GB, free: 8.934 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.9476, allocations: 12 kB / 1.456 GB, free: 8.922 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.9476, allocations: 16.09 kB / 1.456 GB, free: 8.906 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.9477, allocations: 16 kB / 1.456 GB, free: 8.891 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/0.9485, allocations: 203.7 kB / 1.456 GB, free: 8.691 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.9485, allocations: 19.94 kB / 1.456 GB, free: 8.672 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.9496, allocations: 183 kB / 1.456 GB, free: 8.492 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/0.9497, allocations: 47.92 kB / 1.456 GB, free: 8.445 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001131/0.9508, allocations: 0.5625 MB / 1.457 GB, free: 7.883 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001074/0.9519, allocations: 0.6891 MB / 1.458 GB, free: 7.016 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001648/0.9536, allocations: 0.9256 MB / 1.458 GB, free: 5.93 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.289e-06/0.9536, allocations: 4 kB / 1.458 GB, free: 5.926 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002188/0.9558, allocations: 1.055 MB / 1.46 GB, free: 4.863 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.9558, allocations: 8 kB / 1.46 GB, free: 4.855 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.9558, allocations: 12 kB / 1.46 GB, free: 4.844 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.9559, allocations: 16 kB / 1.46 GB, free: 4.828 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.9566, allocations: 208 kB / 1.46 GB, free: 4.625 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.9566, allocations: 19.94 kB / 1.46 GB, free: 4.605 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.9577, allocations: 139.5 kB / 1.46 GB, free: 4.469 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.9578, allocations: 43.98 kB / 1.46 GB, free: 4.426 MB / 1.186 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.0002182/0.958, allocations: 236 kB / 1.46 GB, free: 4.188 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.9582, allocations: 151 kB / 1.46 GB, free: 4.039 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.9598, allocations: 0.6411 MB / 1.461 GB, free: 3.387 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.9598, allocations: 4 kB / 1.461 GB, free: 3.383 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9598, allocations: 0 / 1.461 GB, free: 3.383 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9599, allocations: 4 kB / 1.461 GB, free: 3.379 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.9631, allocations: 1.884 MB / 1.463 GB, free: 1.387 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.9631, allocations: 11.94 kB / 1.463 GB, free: 1.375 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.9635, allocations: 92.02 kB / 1.463 GB, free: 1.285 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.9636, allocations: 8 kB / 1.463 GB, free: 1.277 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.9636, allocations: 15.98 kB / 1.463 GB, free: 1.262 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.9636, allocations: 4 kB / 1.463 GB, free: 1.258 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.9636, allocations: 4 kB / 1.463 GB, free: 1.254 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.9651, allocations: 0.8205 MB / 1.464 GB, free: 376 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.9656, allocations: 303.9 kB / 1.464 GB, free: 52 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.9657, allocations: 8 kB / 1.464 GB, free: 44 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009156/0.9667, allocations: 67.92 kB / 1.464 GB, free: 15.98 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.9667, allocations: 39.84 kB / 1.464 GB, free: 15.94 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.9668, allocations: 19.98 kB / 1.464 GB, free: 15.92 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001385/0.9682, allocations: 1.009 MB / 1.465 GB, free: 14.91 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9682, allocations: 4 kB / 1.465 GB, free: 14.91 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001577/0.9698, allocations: 0.5814 MB / 1.466 GB, free: 14.33 MB / 1.201 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.002208/0.972, allocations: 1.518 MB / 1.467 GB, free: 12.75 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002655/0.9747, allocations: 1.122 MB / 1.468 GB, free: 11.63 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.9747, allocations: 8.125 kB / 1.468 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.9753, allocations: 253.8 kB / 1.469 GB, free: 11.38 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/0.9784, allocations: 0.7449 MB / 1.469 GB, free: 10.63 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.9937, allocations: 9.842 MB / 1.479 GB, free: 252 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/0.9945, allocations: 1.182 MB / 1.48 GB, free: 15.04 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00123/0.9958, allocations: 387.8 kB / 1.48 GB, free: 14.65 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/0.9964, allocations: 499.3 kB / 1.481 GB, free: 14.16 MB / 1.217 GB Notification: Performance of SimCode: time 5.81e-07/0.9964, allocations: 0 / 1.481 GB, free: 14.16 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.862/5.858, allocations: 35.61 MB / 1.516 GB, free: 10.93 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.65/26.51, allocations: 7.875 kB / 1.516 GB, free: 10.93 MB / 1.248 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=400 --tolerance=1e-06 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.mat","/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