Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_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.004834/0.004835, allocations: 104.9 kB / 15.73 MB, free: 6.043 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.001078/0.001078, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 66.86 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2097, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7221/0.9319, allocations: 237.6 MB / 1.319 GB, free: 2.73 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.9489, allocations: 15.77 MB / 1.335 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/0.9517, allocations: 68.22 kB / 1.335 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.9544, allocations: 1.037 MB / 1.336 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006924/0.9614, allocations: 2.976 MB / 1.339 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.9652, allocations: 1.675 MB / 1.341 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004141/0.9694, allocations: 3.435 MB / 1.344 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.9709, allocations: 1.291 MB / 1.345 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005655/0.9766, allocations: 2.492 MB / 1.348 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.9785, allocations: 1.091 MB / 1.349 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.9787, allocations: 115.9 kB / 1.349 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006321/0.985, allocations: 3.101 MB / 1.352 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004191/0.9854, allocations: 479.5 kB / 1.352 GB, free: 432 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008268/0.9863, allocations: 0.811 MB / 1.353 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004143/0.9904, allocations: 2.963 MB / 1.356 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9904, allocations: 3.938 kB / 1.356 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9904, allocations: 0 / 1.356 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.9905, allocations: 0 / 1.356 GB, free: 15.06 MB / 1.029 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.00316/0.9936, allocations: 2.002 MB / 1.358 GB, free: 13.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.9937, allocations: 10.19 kB / 1.358 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.9938, allocations: 156.7 kB / 1.358 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/0.9964, allocations: 0.4999 MB / 1.359 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.9984, allocations: 1.166 MB / 1.36 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.263e-05/0.9985, allocations: 76.86 kB / 1.36 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.9987, allocations: 98.25 kB / 1.36 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/1.001, allocations: 1.349 MB / 1.361 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.001, allocations: 7.969 kB / 1.361 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.726e-05/1.001, allocations: 49.64 kB / 1.361 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/1.001, allocations: 44.53 kB / 1.361 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/1.003, allocations: 1.051 MB / 1.362 GB, free: 11.77 MB / 1.029 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.006555/1.01, allocations: 7.39 MB / 1.369 GB, free: 5.879 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/1.011, allocations: 0.5392 MB / 1.37 GB, free: 5.719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/1.012, allocations: 257 kB / 1.37 GB, free: 5.645 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/1.012, allocations: 283 kB / 1.371 GB, free: 5.359 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/1.012, allocations: 42.25 kB / 1.371 GB, free: 5.312 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/1.012, allocations: 0 / 1.371 GB, free: 5.312 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.00215/1.014, allocations: 0.8377 MB / 1.371 GB, free: 5.035 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/1.014, allocations: 58 kB / 1.371 GB, free: 4.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/1.016, allocations: 1.388 MB / 1.373 GB, free: 4.438 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/1.016, allocations: 38.48 kB / 1.373 GB, free: 4.398 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/1.016, allocations: 0.6968 MB / 1.373 GB, free: 3.844 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.935e-05/1.016, allocations: 123 kB / 1.374 GB, free: 3.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/1.016, allocations: 167.7 kB / 1.374 GB, free: 3.668 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/1.017, allocations: 334 kB / 1.374 GB, free: 3.352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007474/1.017, allocations: 317.3 kB / 1.374 GB, free: 3.258 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/1.018, allocations: 0.6906 MB / 1.375 GB, free: 2.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/1.02, allocations: 0.9212 MB / 1.376 GB, free: 2.055 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.02, allocations: 9.031 kB / 1.376 GB, free: 2.051 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002025/1.022, allocations: 1.053 MB / 1.377 GB, free: 1.727 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.022, allocations: 10.03 kB / 1.377 GB, free: 1.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.022, allocations: 15.03 kB / 1.377 GB, free: 1.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/1.022, allocations: 24.97 kB / 1.377 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/1.023, allocations: 199.9 kB / 1.377 GB, free: 1.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/1.023, allocations: 24.31 kB / 1.377 GB, free: 1.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.024, allocations: 187.2 kB / 1.377 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/1.024, allocations: 40.2 kB / 1.377 GB, free: 1.621 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001018/1.025, allocations: 0.5634 MB / 1.378 GB, free: 1.359 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009608/1.026, allocations: 0.6933 MB / 1.379 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001493/1.027, allocations: 0.9286 MB / 1.38 GB, free: 152 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.649e-06/1.028, allocations: 2.5 kB / 1.38 GB, free: 152 kB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002008/1.03, allocations: 1.044 MB / 1.381 GB, free: 15.83 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/1.03, allocations: 11.12 kB / 1.381 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/1.03, allocations: 10.53 kB / 1.381 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/1.03, allocations: 15.72 kB / 1.381 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/1.03, allocations: 210.8 kB / 1.381 GB, free: 15.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/1.03, allocations: 24.36 kB / 1.381 GB, free: 15.81 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.031, allocations: 130.2 kB / 1.381 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/1.031, allocations: 42.8 kB / 1.381 GB, free: 15.77 MB / 1.045 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.0001977/1.032, allocations: 232.2 kB / 1.381 GB, free: 15.56 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/1.032, allocations: 142 kB / 1.381 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/1.033, allocations: 0.6488 MB / 1.382 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.033, allocations: 2.406 kB / 1.382 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.033, allocations: 0 / 1.382 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.033, allocations: 5.422 kB / 1.382 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/1.036, allocations: 1.889 MB / 1.384 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.036, allocations: 2.812 kB / 1.384 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/1.037, allocations: 97.17 kB / 1.384 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/1.037, allocations: 8.344 kB / 1.384 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/1.037, allocations: 16.45 kB / 1.384 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.037, allocations: 9.188 kB / 1.384 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.037, allocations: 5.844 kB / 1.384 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/1.038, allocations: 0.7975 MB / 1.385 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/1.039, allocations: 296.7 kB / 1.385 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/1.039, allocations: 16.64 kB / 1.385 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009285/1.04, allocations: 74.95 kB / 1.385 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/1.04, allocations: 36.22 kB / 1.385 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/1.04, allocations: 21.52 kB / 1.385 GB, free: 13.2 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00117/1.041, allocations: 1.009 MB / 1.386 GB, free: 12.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.041, allocations: 0 / 1.386 GB, free: 12.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001494/1.043, allocations: 0.5781 MB / 1.387 GB, free: 12.58 MB / 1.045 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.001938/1.045, allocations: 1.495 MB / 1.388 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002417/1.047, allocations: 1.119 MB / 1.389 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.047, allocations: 4.875 kB / 1.389 GB, free: 11.01 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005887/1.048, allocations: 256 kB / 1.39 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/1.051, allocations: 0.7432 MB / 1.39 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/1.065, allocations: 9.786 MB / 1.4 GB, free: 4.398 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/1.066, allocations: 1.192 MB / 1.401 GB, free: 3.457 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001344/1.067, allocations: 387.5 kB / 1.401 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/1.068, allocations: 497.8 kB / 1.402 GB, free: 2.867 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/1.068, allocations: 0 / 1.402 GB, free: 2.867 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.491/4.559, allocations: 35.62 MB / 1.437 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/18.97, allocations: 4 kB / 1.437 GB, free: 0.6055 MB / 1.076 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches