Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_11_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.001403/0.001404, 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.001419/0.001419, allocations: 198.2 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.488/2.488, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 67.31 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2445, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6202/0.8647, allocations: 237.6 MB / 1.296 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01467/0.8794, allocations: 15.78 MB / 1.311 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.8811, allocations: 61.25 kB / 1.312 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.8831, allocations: 1.039 MB / 1.313 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005347/0.8885, allocations: 2.978 MB / 1.315 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.8917, allocations: 1.669 MB / 1.317 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002979/0.8947, allocations: 3.431 MB / 1.32 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.8959, allocations: 1.285 MB / 1.322 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.9001, allocations: 2.503 MB / 1.324 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.9014, allocations: 1.079 MB / 1.325 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.9016, allocations: 119.9 kB / 1.325 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004411/0.906, allocations: 3.091 MB / 1.328 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.9064, allocations: 478.2 kB / 1.329 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006394/0.9071, allocations: 0.8074 MB / 1.33 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.9098, allocations: 2.935 MB / 1.332 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.9099, allocations: 0 / 1.332 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.9099, allocations: 0.7188 kB / 1.332 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.9099, allocations: 0 / 1.332 GB, free: 2.785 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.002576/0.9125, allocations: 2.008 MB / 1.334 GB, free: 17.74 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.9125, allocations: 10.94 kB / 1.334 GB, free: 17.74 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.9127, allocations: 153.5 kB / 1.335 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.9149, allocations: 0.4963 MB / 1.335 GB, free: 17.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.9165, allocations: 1.109 MB / 1.336 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007787/0.9173, allocations: 244.7 kB / 1.336 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.9174, allocations: 98.16 kB / 1.336 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.9192, allocations: 1.366 MB / 1.338 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.9192, allocations: 7.469 kB / 1.338 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/0.9193, allocations: 44.19 kB / 1.338 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.9194, allocations: 44.16 kB / 1.338 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.9213, allocations: 1.078 MB / 1.339 GB, free: 16.78 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.006076/0.9274, allocations: 7.442 MB / 1.346 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.9288, allocations: 0.5714 MB / 1.347 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/0.9294, allocations: 272.8 kB / 1.347 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000344/0.9297, allocations: 283.9 kB / 1.347 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.9298, allocations: 41.19 kB / 1.347 GB, free: 11.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.9298, allocations: 3.938 kB / 1.347 GB, free: 11.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002011/0.9318, allocations: 0.8607 MB / 1.348 GB, free: 11.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.9319, allocations: 56.69 kB / 1.348 GB, free: 11.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.9332, allocations: 1.399 MB / 1.35 GB, free: 10.99 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.9333, allocations: 33.14 kB / 1.35 GB, free: 10.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.9336, allocations: 0.703 MB / 1.35 GB, free: 10.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.149e-05/0.9337, allocations: 122.7 kB / 1.35 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.9339, allocations: 161.9 kB / 1.351 GB, free: 10.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.934, allocations: 335.4 kB / 1.351 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.9348, allocations: 327.1 kB / 1.351 GB, free: 10.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.9358, allocations: 0.7008 MB / 1.352 GB, free: 9.785 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.9374, allocations: 0.9561 MB / 1.353 GB, free: 9.328 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.9374, allocations: 6.312 kB / 1.353 GB, free: 9.324 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002021/0.9394, allocations: 1.076 MB / 1.354 GB, free: 9.113 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.9394, allocations: 12.38 kB / 1.354 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.9395, allocations: 14.75 kB / 1.354 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.9395, allocations: 23 kB / 1.354 GB, free: 9.102 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/0.9402, allocations: 215.1 kB / 1.354 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.9402, allocations: 23 kB / 1.354 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.9413, allocations: 194.8 kB / 1.354 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.9414, allocations: 43.42 kB / 1.354 GB, free: 9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00108/0.9425, allocations: 0.5795 MB / 1.355 GB, free: 8.738 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/0.9435, allocations: 0.6987 MB / 1.356 GB, free: 8.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001627/0.9452, allocations: 0.9529 MB / 1.357 GB, free: 7.527 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.9452, allocations: 5.25 kB / 1.357 GB, free: 7.527 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002047/0.9472, allocations: 1.072 MB / 1.358 GB, free: 7.203 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.026e-06/0.9472, allocations: 8.438 kB / 1.358 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9473, allocations: 10.75 kB / 1.358 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.9473, allocations: 18.16 kB / 1.358 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.948, allocations: 212.7 kB / 1.358 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.948, allocations: 23.66 kB / 1.358 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.949, allocations: 139.8 kB / 1.358 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.9491, allocations: 41.75 kB / 1.358 GB, free: 7.148 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.0001774/0.9493, allocations: 240.5 kB / 1.358 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.9495, allocations: 145.9 kB / 1.358 GB, free: 6.859 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.9509, allocations: 0.661 MB / 1.359 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.951, allocations: 2.781 kB / 1.359 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.951, allocations: 0 / 1.359 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.951, allocations: 1.781 kB / 1.359 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.9539, allocations: 1.933 MB / 1.361 GB, free: 5.668 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9539, allocations: 2.312 kB / 1.361 GB, free: 5.668 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.9544, allocations: 90.89 kB / 1.361 GB, free: 5.668 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.9544, allocations: 11.31 kB / 1.361 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.9544, allocations: 14.08 kB / 1.361 GB, free: 5.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.9544, allocations: 12.03 kB / 1.361 GB, free: 5.656 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.9545, allocations: 2.562 kB / 1.361 GB, free: 5.656 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.9559, allocations: 0.8224 MB / 1.362 GB, free: 5.184 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.9562, allocations: 292.6 kB / 1.362 GB, free: 4.973 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.9564, allocations: 10.17 kB / 1.362 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009159/0.9573, allocations: 76.12 kB / 1.362 GB, free: 4.961 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.9574, allocations: 36.61 kB / 1.362 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.9575, allocations: 28.08 kB / 1.362 GB, free: 4.941 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001182/0.9587, allocations: 1.016 MB / 1.363 GB, free: 4.555 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9587, allocations: 0 / 1.363 GB, free: 4.555 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001315/0.96, allocations: 0.574 MB / 1.364 GB, free: 4.477 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.002091/0.9621, allocations: 1.526 MB / 1.365 GB, free: 3.434 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.9645, allocations: 1.184 MB / 1.367 GB, free: 3.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9645, allocations: 0 / 1.367 GB, free: 3.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.9652, allocations: 265.6 kB / 1.367 GB, free: 3.102 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.968, allocations: 0.7388 MB / 1.367 GB, free: 2.871 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.9825, allocations: 10.69 MB / 1.378 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.9832, allocations: 1.19 MB / 1.379 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001312/0.9846, allocations: 386.5 kB / 1.379 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/0.9852, allocations: 497.5 kB / 1.38 GB, free: 10.39 MB / 1.029 GB Notification: Performance of SimCode: time 2.1e-07/0.9852, allocations: 0 / 1.38 GB, free: 10.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.975/2.96, allocations: 35.42 MB / 1.415 GB, free: 12.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/16.41, allocations: 3.984 kB / 1.415 GB, free: 12.38 MB / 1.061 GB (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches