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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 216 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7707 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 64.08 kB / 1.117 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2847, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2768/0.5615, allocations: 242.2 MB / 1.52 GB, free: 8.488 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.5871, allocations: 15.93 MB / 1.535 GB, free: 8.516 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.5894, allocations: 83.25 kB / 1.536 GB, free: 8.434 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003214/0.5926, allocations: 1.08 MB / 1.537 GB, free: 7.348 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.603, allocations: 3.149 MB / 1.54 GB, free: 4.188 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005693/0.6087, allocations: 1.736 MB / 1.541 GB, free: 2.461 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.006548/0.6152, allocations: 3.498 MB / 1.545 GB, free: 14.95 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.6178, allocations: 0.995 MB / 1.546 GB, free: 13.92 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007128/0.6249, allocations: 2.63 MB / 1.548 GB, free: 11.3 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.6276, allocations: 1.153 MB / 1.549 GB, free: 10.15 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004963/0.6281, allocations: 116 kB / 1.55 GB, free: 10.04 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006879/0.635, allocations: 3.293 MB / 1.553 GB, free: 6.734 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008717/0.6358, allocations: 494.2 kB / 1.553 GB, free: 6.25 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.6375, allocations: 0.8123 MB / 1.554 GB, free: 5.434 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006592/0.6441, allocations: 2.982 MB / 1.557 GB, free: 2.441 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6441, allocations: 0 / 1.557 GB, free: 2.441 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6441, allocations: 4 kB / 1.557 GB, free: 2.438 MB / 1.248 GB Notification: Performance of Transformations before backend: time 8.056e-05/0.6442, allocations: 0 / 1.557 GB, free: 2.438 MB / 1.248 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.00512/0.6493, allocations: 1.993 MB / 1.559 GB, free: 412 kB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6493, allocations: 8.031 kB / 1.559 GB, free: 404 kB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003005/0.6496, allocations: 152.2 kB / 1.559 GB, free: 244 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.6527, allocations: 0.5063 MB / 1.56 GB, free: 15.73 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/0.6558, allocations: 1.105 MB / 1.561 GB, free: 14.58 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.656, allocations: 81.92 kB / 1.561 GB, free: 14.5 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.6562, allocations: 100 kB / 1.561 GB, free: 14.4 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.6592, allocations: 1.354 MB / 1.562 GB, free: 12.93 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.6592, allocations: 7.938 kB / 1.562 GB, free: 12.92 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.6594, allocations: 47.98 kB / 1.562 GB, free: 12.87 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.718e-05/0.6594, allocations: 45.98 kB / 1.562 GB, free: 12.82 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002629/0.6621, allocations: 1.054 MB / 1.563 GB, free: 11.77 MB / 1.264 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.009696/0.6718, allocations: 7.308 MB / 1.57 GB, free: 3.988 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.6733, allocations: 0.523 MB / 1.571 GB, free: 3.457 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/0.674, allocations: 249.2 kB / 1.571 GB, free: 3.211 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/0.6743, allocations: 52.25 kB / 1.571 GB, free: 3.16 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.538e-05/0.6744, allocations: 38.84 kB / 1.571 GB, free: 3.113 MB / 1.264 GB Notification: Performance of pre-optimization done (n=33): time 2.545e-06/0.6744, allocations: 0 / 1.571 GB, free: 3.113 MB / 1.264 GB Notification: Performance of matching and sorting (n=33): time 0.002601/0.677, allocations: 0.8493 MB / 1.572 GB, free: 2.258 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.677, allocations: 55.41 kB / 1.572 GB, free: 2.191 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.6794, allocations: 1.395 MB / 1.573 GB, free: 0.7852 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 9.754e-05/0.6795, allocations: 41.64 kB / 1.574 GB, free: 0.7383 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007382/0.6803, allocations: 0.7079 MB / 1.574 GB, free: 28 kB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.6804, allocations: 131.1 kB / 1.574 GB, free: 15.89 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002887/0.6807, allocations: 166.5 kB / 1.574 GB, free: 15.73 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6809, allocations: 338 kB / 1.575 GB, free: 15.39 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008289/0.6817, allocations: 312.6 kB / 1.575 GB, free: 15.08 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.6829, allocations: 0.6889 MB / 1.576 GB, free: 14.22 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.6847, allocations: 0.9304 MB / 1.577 GB, free: 13.13 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.6847, allocations: 4 kB / 1.577 GB, free: 13.12 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002618/0.6873, allocations: 1.064 MB / 1.578 GB, free: 12.06 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.6873, allocations: 10.03 kB / 1.578 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.6873, allocations: 12 kB / 1.578 GB, free: 12.04 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-05/0.6874, allocations: 20.03 kB / 1.578 GB, free: 12.02 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008623/0.6882, allocations: 199.8 kB / 1.578 GB, free: 11.82 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.432e-05/0.6883, allocations: 27.86 kB / 1.578 GB, free: 11.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.6897, allocations: 183 kB / 1.578 GB, free: 11.62 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.55e-05/0.6898, allocations: 43.98 kB / 1.578 GB, free: 11.57 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001288/0.6911, allocations: 0.5682 MB / 1.579 GB, free: 11 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00111/0.6922, allocations: 0.6811 MB / 1.579 GB, free: 10.14 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001765/0.694, allocations: 0.9215 MB / 1.58 GB, free: 9.059 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.788e-06/0.694, allocations: 7.938 kB / 1.58 GB, free: 9.051 MB / 1.279 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002483/0.6965, allocations: 1.062 MB / 1.581 GB, free: 7.98 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.6965, allocations: 12 kB / 1.581 GB, free: 7.969 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.6965, allocations: 12 kB / 1.581 GB, free: 7.957 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6966, allocations: 16 kB / 1.581 GB, free: 7.941 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/0.6974, allocations: 200.4 kB / 1.582 GB, free: 7.746 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/0.6974, allocations: 27.86 kB / 1.582 GB, free: 7.719 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.6988, allocations: 135.6 kB / 1.582 GB, free: 7.586 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/0.6989, allocations: 40 kB / 1.582 GB, free: 7.547 MB / 1.279 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.000311/0.6992, allocations: 244.3 kB / 1.582 GB, free: 7.301 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/0.6995, allocations: 151.1 kB / 1.582 GB, free: 7.152 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.7014, allocations: 0.6326 MB / 1.583 GB, free: 6.504 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.7014, allocations: 4 kB / 1.583 GB, free: 6.5 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.7014, allocations: 4 kB / 1.583 GB, free: 6.496 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.7014, allocations: 7.922 kB / 1.583 GB, free: 6.488 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/0.7059, allocations: 1.862 MB / 1.585 GB, free: 4.523 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.7059, allocations: 4 kB / 1.585 GB, free: 4.52 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005214/0.7064, allocations: 91.86 kB / 1.585 GB, free: 4.43 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.7064, allocations: 4 kB / 1.585 GB, free: 4.426 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.7065, allocations: 12 kB / 1.585 GB, free: 4.414 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.7065, allocations: 8.031 kB / 1.585 GB, free: 4.406 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.7065, allocations: 8 kB / 1.585 GB, free: 4.398 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.7083, allocations: 0.8042 MB / 1.586 GB, free: 3.527 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006985/0.7089, allocations: 226.8 kB / 1.586 GB, free: 3.305 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/0.7093, allocations: 16 kB / 1.586 GB, free: 3.289 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.7104, allocations: 67.92 kB / 1.586 GB, free: 3.223 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.7105, allocations: 35.83 kB / 1.586 GB, free: 3.188 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.7106, allocations: 15.98 kB / 1.586 GB, free: 3.172 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001883/0.7124, allocations: 1.013 MB / 1.587 GB, free: 2.164 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7124, allocations: 0 / 1.587 GB, free: 2.164 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002469/0.7149, allocations: 0.5775 MB / 1.587 GB, free: 1.586 MB / 1.279 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.002574/0.7175, allocations: 1.515 MB / 1.589 GB, free: 0 / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002945/0.7204, allocations: 1.094 MB / 1.59 GB, free: 14.91 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7204, allocations: 0 / 1.59 GB, free: 14.91 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000725/0.7212, allocations: 244 kB / 1.59 GB, free: 14.67 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/0.7251, allocations: 0.7475 MB / 1.591 GB, free: 13.93 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/0.7444, allocations: 9.836 MB / 1.601 GB, free: 3.559 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009369/0.7453, allocations: 1.178 MB / 1.602 GB, free: 2.348 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001498/0.7468, allocations: 395.8 kB / 1.602 GB, free: 1.957 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007595/0.7476, allocations: 499.3 kB / 1.603 GB, free: 1.473 MB / 1.295 GB Notification: Performance of SimCode: time 6.41e-07/0.7476, allocations: 0 / 1.603 GB, free: 1.473 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6408/1.388, allocations: 36.29 MB / 1.638 GB, free: 302.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/15.16, allocations: 3.938 kB / 1.638 GB, free: 302.5 MB / 1.295 GB " [Timeout remaining time 284] (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 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.786895622033626]