Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 111 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.059/3.059, allocations: 497.2 MB / 0.7811 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 66.98 kB / 1.134 GB, free: 33.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3199, allocations: 173.9 MB / 1.304 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2767/0.5966, allocations: 238.6 MB / 1.537 GB, free: 2.223 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0229/0.6195, allocations: 15.84 MB / 1.552 GB, free: 2.34 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.6222, allocations: 59.69 kB / 1.552 GB, free: 2.281 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002968/0.6251, allocations: 1.08 MB / 1.554 GB, free: 1.195 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.007995/0.6331, allocations: 3.092 MB / 1.557 GB, free: 14.09 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004512/0.6376, allocations: 1.699 MB / 1.558 GB, free: 12.4 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005502/0.6432, allocations: 3.409 MB / 1.562 GB, free: 8.98 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.6451, allocations: 1.072 MB / 1.563 GB, free: 7.871 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007474/0.6525, allocations: 2.825 MB / 1.565 GB, free: 5.047 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/0.6553, allocations: 1.111 MB / 1.566 GB, free: 3.941 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0004128/0.6557, allocations: 120 kB / 1.567 GB, free: 3.824 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006625/0.6623, allocations: 3.235 MB / 1.57 GB, free: 0.582 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0007942/0.6631, allocations: 486.2 kB / 1.57 GB, free: 108 kB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.6645, allocations: 0.8047 MB / 1.571 GB, free: 15.29 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.006063/0.6705, allocations: 2.978 MB / 1.574 GB, free: 12.31 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6705, allocations: 0 / 1.574 GB, free: 12.31 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6705, allocations: 3.938 kB / 1.574 GB, free: 12.3 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.241e-05/0.6706, allocations: 3.984 kB / 1.574 GB, free: 12.3 MB / 1.279 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.004062/0.6746, allocations: 2.058 MB / 1.576 GB, free: 10.18 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6747, allocations: 16.62 kB / 1.576 GB, free: 10.17 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.6749, allocations: 148.2 kB / 1.576 GB, free: 10.02 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/0.6778, allocations: 0.5063 MB / 1.577 GB, free: 9.508 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.6806, allocations: 1.189 MB / 1.578 GB, free: 8.266 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.552e-05/0.6807, allocations: 78 kB / 1.578 GB, free: 8.188 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.6808, allocations: 104 kB / 1.578 GB, free: 8.086 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.6833, allocations: 1.354 MB / 1.579 GB, free: 6.613 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.6834, allocations: 3.938 kB / 1.579 GB, free: 6.609 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.6835, allocations: 47.98 kB / 1.579 GB, free: 6.562 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/0.6835, allocations: 45.98 kB / 1.579 GB, free: 6.516 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.686, allocations: 1.057 MB / 1.58 GB, free: 5.457 MB / 1.279 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.009195/0.6952, allocations: 7.475 MB / 1.588 GB, free: 13.48 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.6968, allocations: 0.5192 MB / 1.588 GB, free: 12.96 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/0.6974, allocations: 253.1 kB / 1.588 GB, free: 12.71 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004117/0.6978, allocations: 283.6 kB / 1.589 GB, free: 12.38 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.6978, allocations: 38.78 kB / 1.589 GB, free: 12.33 MB / 1.295 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.6978, allocations: 0 / 1.589 GB, free: 12.33 MB / 1.295 GB Notification: Performance of matching and sorting (n=33): time 0.00233/0.7001, allocations: 0.8424 MB / 1.589 GB, free: 11.48 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.7002, allocations: 55.41 kB / 1.59 GB, free: 11.41 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.7021, allocations: 1.399 MB / 1.591 GB, free: 10 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.7022, allocations: 33.7 kB / 1.591 GB, free: 9.965 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/0.7028, allocations: 0.7119 MB / 1.592 GB, free: 9.25 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.7029, allocations: 130.9 kB / 1.592 GB, free: 9.121 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.7032, allocations: 174.4 kB / 1.592 GB, free: 8.941 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7034, allocations: 330 kB / 1.592 GB, free: 8.613 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008116/0.7042, allocations: 316.6 kB / 1.593 GB, free: 8.301 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.7053, allocations: 0.6853 MB / 1.593 GB, free: 7.441 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.707, allocations: 0.9311 MB / 1.594 GB, free: 6.352 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.707, allocations: 4 kB / 1.594 GB, free: 6.348 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002353/0.7094, allocations: 1.058 MB / 1.595 GB, free: 5.281 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.7094, allocations: 11.34 kB / 1.595 GB, free: 5.273 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.7094, allocations: 12 kB / 1.595 GB, free: 5.262 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.7094, allocations: 24.03 kB / 1.595 GB, free: 5.238 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008627/0.7103, allocations: 199.7 kB / 1.595 GB, free: 5.043 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/0.7103, allocations: 23.92 kB / 1.595 GB, free: 5.02 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.7116, allocations: 187.1 kB / 1.596 GB, free: 4.836 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.521e-05/0.7117, allocations: 36 kB / 1.596 GB, free: 4.801 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001264/0.713, allocations: 0.5682 MB / 1.596 GB, free: 4.23 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001138/0.7141, allocations: 0.6891 MB / 1.597 GB, free: 3.367 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001735/0.7158, allocations: 0.9293 MB / 1.598 GB, free: 2.277 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.483e-06/0.7159, allocations: 4 kB / 1.598 GB, free: 2.273 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002452/0.7183, allocations: 1.055 MB / 1.599 GB, free: 1.211 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.7183, allocations: 12 kB / 1.599 GB, free: 1.199 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.7184, allocations: 15.94 kB / 1.599 GB, free: 1.184 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.7184, allocations: 16 kB / 1.599 GB, free: 1.168 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/0.7192, allocations: 203.8 kB / 1.599 GB, free: 0.9688 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/0.7192, allocations: 27.86 kB / 1.599 GB, free: 0.9414 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.7207, allocations: 135.6 kB / 1.599 GB, free: 0.8086 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/0.7207, allocations: 39.98 kB / 1.599 GB, free: 0.7695 MB / 1.295 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.0003503/0.7211, allocations: 239.9 kB / 1.599 GB, free: 0.5273 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.7214, allocations: 151 kB / 1.6 GB, free: 388 kB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.7232, allocations: 0.6327 MB / 1.6 GB, free: 15.73 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.7233, allocations: 4 kB / 1.6 GB, free: 15.73 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.7233, allocations: 3.984 kB / 1.6 GB, free: 15.73 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.7233, allocations: 0 / 1.6 GB, free: 15.73 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.7274, allocations: 1.89 MB / 1.602 GB, free: 13.73 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7274, allocations: 7.938 kB / 1.602 GB, free: 13.72 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.7279, allocations: 92.08 kB / 1.602 GB, free: 13.63 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.7279, allocations: 4 kB / 1.602 GB, free: 13.62 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.728, allocations: 15.98 kB / 1.602 GB, free: 13.61 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.728, allocations: 4 kB / 1.602 GB, free: 13.61 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.728, allocations: 7.938 kB / 1.602 GB, free: 13.6 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.7296, allocations: 0.8123 MB / 1.603 GB, free: 12.72 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.7302, allocations: 299.9 kB / 1.603 GB, free: 12.41 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.7304, allocations: 15.98 kB / 1.603 GB, free: 12.39 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009414/0.7313, allocations: 71.92 kB / 1.603 GB, free: 12.32 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.7314, allocations: 35.84 kB / 1.603 GB, free: 12.29 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.7315, allocations: 23.98 kB / 1.603 GB, free: 12.26 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001653/0.7331, allocations: 1.005 MB / 1.604 GB, free: 11.26 MB / 1.311 GB Notification: Performance of sort global known variables: time 1e-07/0.7331, allocations: 0 / 1.604 GB, free: 11.26 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001938/0.7351, allocations: 0.5814 MB / 1.605 GB, free: 10.68 MB / 1.311 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.002565/0.7376, allocations: 1.534 MB / 1.606 GB, free: 9.086 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003016/0.7406, allocations: 1.079 MB / 1.607 GB, free: 8.012 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.7407, allocations: 4.172 kB / 1.608 GB, free: 8.008 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0006893/0.7413, allocations: 252.2 kB / 1.608 GB, free: 7.762 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/0.7448, allocations: 0.7445 MB / 1.608 GB, free: 7.02 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6109/1.356, allocations: 9.823 MB / 1.618 GB, free: 308.4 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/1.356, allocations: 1.181 MB / 1.619 GB, free: 307.7 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001403/1.358, allocations: 385.7 kB / 1.62 GB, free: 307.7 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/1.358, allocations: 0.4895 MB / 1.62 GB, free: 307.6 MB / 1.311 GB Notification: Performance of SimCode: time 1.102e-06/1.358, allocations: 0 / 1.62 GB, free: 307.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07184/1.43, allocations: 35.79 MB / 1.655 GB, free: 292.4 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.99, allocations: 12.48 kB / 1.655 GB, free: 292.4 MB / 1.311 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.425256898161024]