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.004746/0.004746, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001351/0.001351, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.238/1.238, 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 11.1.0-maint.11.x/package.mo): time 2.367/2.367, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 63.91 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5851, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2234/0.8086, allocations: 237.6 MB / 1.452 GB, free: 3.602 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.8271, allocations: 15.79 MB / 1.468 GB, free: 3.77 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.8283, allocations: 63.62 kB / 1.468 GB, free: 3.707 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.8303, allocations: 1.033 MB / 1.469 GB, free: 2.668 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005556/0.8359, allocations: 2.982 MB / 1.472 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.8391, allocations: 1.678 MB / 1.473 GB, free: 14 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003444/0.8426, allocations: 3.442 MB / 1.477 GB, free: 10.55 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.844, allocations: 1.287 MB / 1.478 GB, free: 9.223 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004508/0.8485, allocations: 2.504 MB / 1.48 GB, free: 6.727 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.85, allocations: 1.07 MB / 1.481 GB, free: 5.66 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.8502, allocations: 116 kB / 1.481 GB, free: 5.547 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004471/0.8547, allocations: 3.102 MB / 1.484 GB, free: 2.438 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.8551, allocations: 478.4 kB / 1.485 GB, free: 1.969 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007231/0.8559, allocations: 0.8046 MB / 1.486 GB, free: 1.16 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/0.8593, allocations: 2.978 MB / 1.489 GB, free: 14.17 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.8593, allocations: 4 kB / 1.489 GB, free: 14.17 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8593, allocations: 0 / 1.489 GB, free: 14.17 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.8593, allocations: 0 / 1.489 GB, free: 14.17 MB / 1.217 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.003007/0.8623, allocations: 2.068 MB / 1.491 GB, free: 12.04 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.8624, allocations: 8.031 kB / 1.491 GB, free: 12.03 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.8625, allocations: 156.2 kB / 1.491 GB, free: 11.87 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.865, allocations: 0.4984 MB / 1.491 GB, free: 11.37 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.8669, allocations: 1.181 MB / 1.492 GB, free: 10.14 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.867, allocations: 82 kB / 1.493 GB, free: 10.05 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.8671, allocations: 99.98 kB / 1.493 GB, free: 9.957 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.8693, allocations: 1.354 MB / 1.494 GB, free: 8.484 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.8693, allocations: 3.938 kB / 1.494 GB, free: 8.48 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-05/0.8694, allocations: 40 kB / 1.494 GB, free: 8.441 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.058e-05/0.8695, allocations: 49.98 kB / 1.494 GB, free: 8.391 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.8717, allocations: 1.046 MB / 1.495 GB, free: 7.344 MB / 1.217 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.006933/0.8786, allocations: 7.412 MB / 1.502 GB, free: 15.45 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.8801, allocations: 0.5347 MB / 1.503 GB, free: 14.91 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.8807, allocations: 265.2 kB / 1.503 GB, free: 14.64 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003449/0.881, allocations: 287.6 kB / 1.503 GB, free: 14.31 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.8811, allocations: 34.84 kB / 1.503 GB, free: 14.27 MB / 1.232 GB Notification: Performance of pre-optimization done (n=33): time 1.363e-06/0.8811, allocations: 0 / 1.503 GB, free: 14.27 MB / 1.232 GB Notification: Performance of matching and sorting (n=33): time 0.002122/0.8832, allocations: 0.8416 MB / 1.504 GB, free: 13.42 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.8833, allocations: 59.34 kB / 1.504 GB, free: 13.35 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.8849, allocations: 1.395 MB / 1.506 GB, free: 11.94 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.885, allocations: 33.7 kB / 1.506 GB, free: 11.9 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005388/0.8855, allocations: 0.7196 MB / 1.506 GB, free: 11.18 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.866e-05/0.8856, allocations: 126.9 kB / 1.506 GB, free: 11.05 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.8859, allocations: 166.5 kB / 1.507 GB, free: 10.89 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.886, allocations: 341.9 kB / 1.507 GB, free: 10.55 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/0.8868, allocations: 308.6 kB / 1.507 GB, free: 10.24 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.8879, allocations: 0.6853 MB / 1.508 GB, free: 9.383 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.8895, allocations: 0.9341 MB / 1.509 GB, free: 8.289 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.8895, allocations: 7.938 kB / 1.509 GB, free: 8.281 MB / 1.232 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00214/0.8917, allocations: 1.055 MB / 1.51 GB, free: 7.219 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.8917, allocations: 8 kB / 1.51 GB, free: 7.211 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.8917, allocations: 12 kB / 1.51 GB, free: 7.199 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.8918, allocations: 16 kB / 1.51 GB, free: 7.184 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.8925, allocations: 207.9 kB / 1.51 GB, free: 6.98 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/0.8926, allocations: 23.88 kB / 1.51 GB, free: 6.957 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.8936, allocations: 183 kB / 1.51 GB, free: 6.777 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-05/0.8937, allocations: 47.97 kB / 1.51 GB, free: 6.73 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/0.8947, allocations: 0.5669 MB / 1.511 GB, free: 6.164 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001033/0.8958, allocations: 0.6853 MB / 1.512 GB, free: 5.301 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001606/0.8974, allocations: 0.9255 MB / 1.512 GB, free: 4.215 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.8974, allocations: 4 kB / 1.512 GB, free: 4.211 MB / 1.232 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002088/0.8995, allocations: 1.058 MB / 1.513 GB, free: 3.145 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.8995, allocations: 8 kB / 1.513 GB, free: 3.137 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.8995, allocations: 12 kB / 1.514 GB, free: 3.125 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.8996, allocations: 16.78 kB / 1.514 GB, free: 3.109 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.9003, allocations: 207.7 kB / 1.514 GB, free: 2.906 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.9003, allocations: 19.94 kB / 1.514 GB, free: 2.887 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.9013, allocations: 139.5 kB / 1.514 GB, free: 2.75 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/0.9014, allocations: 43.98 kB / 1.514 GB, free: 2.707 MB / 1.232 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.0001763/0.9016, allocations: 239.9 kB / 1.514 GB, free: 2.465 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.9018, allocations: 151 kB / 1.514 GB, free: 2.316 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.9033, allocations: 0.6366 MB / 1.515 GB, free: 1.664 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.9033, allocations: 8 kB / 1.515 GB, free: 1.656 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9033, allocations: 0 / 1.515 GB, free: 1.656 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.9033, allocations: 0 / 1.515 GB, free: 1.656 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.9063, allocations: 1.892 MB / 1.517 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.9064, allocations: 7.938 kB / 1.517 GB, free: 15.65 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.9068, allocations: 87.86 kB / 1.517 GB, free: 15.56 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.9068, allocations: 7.938 kB / 1.517 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.9069, allocations: 15.98 kB / 1.517 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.9069, allocations: 8.156 kB / 1.517 GB, free: 15.53 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.9069, allocations: 12.03 kB / 1.517 GB, free: 15.52 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.9083, allocations: 0.8081 MB / 1.518 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.9087, allocations: 311.9 kB / 1.518 GB, free: 14.32 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.9089, allocations: 8 kB / 1.518 GB, free: 14.31 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008765/0.9098, allocations: 67.92 kB / 1.518 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.9098, allocations: 31.84 kB / 1.518 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.9099, allocations: 27.97 kB / 1.518 GB, free: 14.19 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001281/0.9112, allocations: 1.005 MB / 1.519 GB, free: 13.19 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.824e-06/0.9112, allocations: 0 / 1.519 GB, free: 13.19 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001373/0.9126, allocations: 0.5852 MB / 1.52 GB, free: 12.6 MB / 1.248 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.9147, allocations: 1.52 MB / 1.521 GB, free: 11.02 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002458/0.9171, allocations: 1.121 MB / 1.522 GB, free: 9.902 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9171, allocations: 0 / 1.522 GB, free: 9.902 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.9178, allocations: 260.8 kB / 1.522 GB, free: 9.648 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.9206, allocations: 0.7353 MB / 1.523 GB, free: 8.918 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/0.9351, allocations: 9.839 MB / 1.533 GB, free: 14.54 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.9358, allocations: 1.182 MB / 1.534 GB, free: 13.33 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001053/0.9369, allocations: 383.8 kB / 1.534 GB, free: 12.95 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/0.9375, allocations: 0.4915 MB / 1.535 GB, free: 12.46 MB / 1.264 GB Notification: Performance of SimCode: time 3.1e-07/0.9375, allocations: 4 kB / 1.535 GB, free: 12.46 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.539/2.477, allocations: 35.6 MB / 1.57 GB, free: 336.7 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/12.67, allocations: 13.03 kB / 1.57 GB, free: 336.7 MB / 1.279 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