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.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.0007504/0.0007504, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007515/0.0007515, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8302/0.8302, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.714/1.714, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.563e-06/1.563e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.253e-05, allocations: 8.75 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5428/0.5428, allocations: 210.7 MB / 1.205 GB, free: 13.48 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.559, allocations: 14.58 MB / 1.22 GB, free: 3.336 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.5612, allocations: 85.88 kB / 1.22 GB, free: 3.289 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.5635, allocations: 1.016 MB / 1.221 GB, free: 2.457 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.006563/0.5701, allocations: 3.172 MB / 1.224 GB, free: 20 kB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.5735, allocations: 1.764 MB / 1.226 GB, free: 14.7 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.004099/0.5776, allocations: 3.448 MB / 1.229 GB, free: 12.66 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.5788, allocations: 0.9703 MB / 1.23 GB, free: 11.95 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005956/0.5847, allocations: 3.278 MB / 1.233 GB, free: 9.816 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.5864, allocations: 0.9532 MB / 1.234 GB, free: 9.32 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.5865, allocations: 119.7 kB / 1.234 GB, free: 9.32 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00386/0.5904, allocations: 2.578 MB / 1.237 GB, free: 7.926 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004249/0.5908, allocations: 0.5057 MB / 1.237 GB, free: 7.559 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.000669/0.5915, allocations: 0.5402 MB / 1.238 GB, free: 7.301 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.004854/0.5963, allocations: 3.001 MB / 1.241 GB, free: 5.395 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5964, allocations: 4 kB / 1.241 GB, free: 5.391 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5964, allocations: 0 / 1.241 GB, free: 5.391 MB / 1.073 GB Notification: Performance of Transformations before backend: time 5.998e-05/0.5964, allocations: 0 / 1.241 GB, free: 5.391 MB / 1.073 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.002804/0.5992, allocations: 1.981 MB / 1.243 GB, free: 3.371 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.5993, allocations: 8.75 kB / 1.243 GB, free: 3.363 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.5994, allocations: 156.2 kB / 1.243 GB, free: 3.203 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.601, allocations: 0.5024 MB / 1.243 GB, free: 2.699 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.6025, allocations: 1.121 MB / 1.244 GB, free: 1.523 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.6026, allocations: 78 kB / 1.244 GB, free: 1.449 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.6027, allocations: 95.94 kB / 1.244 GB, free: 1.355 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.6042, allocations: 1.447 MB / 1.246 GB, free: 15.76 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.6043, allocations: 7.938 kB / 1.246 GB, free: 15.75 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.6043, allocations: 47.98 kB / 1.246 GB, free: 15.71 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.6044, allocations: 45.98 kB / 1.246 GB, free: 15.66 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.6058, allocations: 1.05 MB / 1.247 GB, free: 14.61 MB / 1.089 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.004543/0.6103, allocations: 5.971 MB / 1.253 GB, free: 8.434 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008728/0.6112, allocations: 0.5242 MB / 1.253 GB, free: 7.902 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.6115, allocations: 249.2 kB / 1.254 GB, free: 7.656 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.6117, allocations: 52.23 kB / 1.254 GB, free: 7.605 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.6117, allocations: 50.7 kB / 1.254 GB, free: 7.547 MB / 1.089 GB Notification: Performance of pre-optimization done (n=33): time 2.966e-06/0.6117, allocations: 4 kB / 1.254 GB, free: 7.543 MB / 1.089 GB Notification: Performance of matching and sorting (n=33): time 0.001327/0.613, allocations: 0.8388 MB / 1.254 GB, free: 6.699 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.6131, allocations: 55.41 kB / 1.255 GB, free: 6.633 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.6143, allocations: 1.423 MB / 1.256 GB, free: 5.199 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.6143, allocations: 33.7 kB / 1.256 GB, free: 5.16 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.6147, allocations: 0.7119 MB / 1.257 GB, free: 4.445 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 7.729e-05/0.6148, allocations: 130.9 kB / 1.257 GB, free: 4.316 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.615, allocations: 170.5 kB / 1.257 GB, free: 4.145 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.6151, allocations: 330 kB / 1.257 GB, free: 3.816 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.6155, allocations: 312.6 kB / 1.258 GB, free: 3.508 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/0.6162, allocations: 0.965 MB / 1.258 GB, free: 2.297 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/0.6172, allocations: 0.9312 MB / 1.259 GB, free: 1.207 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.6172, allocations: 4 kB / 1.259 GB, free: 1.203 MB / 1.089 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001286/0.6185, allocations: 1.051 MB / 1.26 GB, free: 148 kB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6185, allocations: 12.16 kB / 1.26 GB, free: 136 kB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.6185, allocations: 12 kB / 1.26 GB, free: 124 kB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.6185, allocations: 19.98 kB / 1.26 GB, free: 104 kB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.619, allocations: 204.1 kB / 1.261 GB, free: 15.9 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.619, allocations: 27.92 kB / 1.261 GB, free: 15.88 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/0.6197, allocations: 179 kB / 1.261 GB, free: 15.7 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.6197, allocations: 46.8 kB / 1.261 GB, free: 15.66 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007043/0.6204, allocations: 0.5643 MB / 1.261 GB, free: 15.09 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006844/0.6211, allocations: 0.9712 MB / 1.262 GB, free: 13.88 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009487/0.6221, allocations: 0.9256 MB / 1.263 GB, free: 12.79 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.6221, allocations: 4 kB / 1.263 GB, free: 12.79 MB / 1.104 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001257/0.6233, allocations: 1.055 MB / 1.264 GB, free: 11.72 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6233, allocations: 15.94 kB / 1.264 GB, free: 11.71 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6234, allocations: 8 kB / 1.264 GB, free: 11.7 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.6234, allocations: 16 kB / 1.264 GB, free: 11.68 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.6238, allocations: 203.8 kB / 1.265 GB, free: 11.48 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.6238, allocations: 23.92 kB / 1.265 GB, free: 11.46 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.6244, allocations: 142.4 kB / 1.265 GB, free: 11.32 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.6244, allocations: 43.98 kB / 1.265 GB, free: 11.28 MB / 1.104 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.0001538/0.6246, allocations: 232 kB / 1.265 GB, free: 11.05 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.6247, allocations: 151 kB / 1.265 GB, free: 10.9 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009077/0.6256, allocations: 0.6405 MB / 1.266 GB, free: 10.24 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.6256, allocations: 7.984 kB / 1.266 GB, free: 10.23 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6256, allocations: 0 / 1.266 GB, free: 10.23 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6256, allocations: 0 / 1.266 GB, free: 10.23 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.6277, allocations: 1.751 MB / 1.267 GB, free: 8.379 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6277, allocations: 4 kB / 1.267 GB, free: 8.375 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.6279, allocations: 96.08 kB / 1.268 GB, free: 8.281 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6279, allocations: 7.938 kB / 1.268 GB, free: 8.273 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.628, allocations: 15.98 kB / 1.268 GB, free: 8.258 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.628, allocations: 7.938 kB / 1.268 GB, free: 8.25 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.628, allocations: 4 kB / 1.268 GB, free: 8.246 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008574/0.6288, allocations: 0.8051 MB / 1.268 GB, free: 7.375 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.6291, allocations: 243.8 kB / 1.269 GB, free: 7.137 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.6292, allocations: 12 kB / 1.269 GB, free: 7.125 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.6297, allocations: 67.92 kB / 1.269 GB, free: 7.059 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.6298, allocations: 35.83 kB / 1.269 GB, free: 7.023 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.6298, allocations: 20.08 kB / 1.269 GB, free: 7.004 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0009367/0.6308, allocations: 1.009 MB / 1.27 GB, free: 6 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6308, allocations: 0 / 1.27 GB, free: 6 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.001181/0.6319, allocations: 0.5814 MB / 1.27 GB, free: 5.418 MB / 1.104 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.001344/0.6333, allocations: 1.502 MB / 1.272 GB, free: 3.844 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.6348, allocations: 1.087 MB / 1.273 GB, free: 2.762 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6348, allocations: 4 kB / 1.273 GB, free: 2.758 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.6352, allocations: 248.6 kB / 1.273 GB, free: 2.516 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.637, allocations: 0.7299 MB / 1.274 GB, free: 1.793 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.6476, allocations: 9.841 MB / 1.283 GB, free: 7.406 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.648, allocations: 0.6036 MB / 1.284 GB, free: 6.77 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0009829/0.6489, allocations: 387.8 kB / 1.284 GB, free: 6.387 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/0.6494, allocations: 0.4964 MB / 1.285 GB, free: 5.891 MB / 1.12 GB Notification: Performance of SimCode: time 1.382e-06/0.6494, allocations: 0 / 1.285 GB, free: 5.891 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/0.6975, allocations: 38.97 MB / 1.323 GB, free: 15.66 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/8.046, allocations: 18.42 kB / 1.323 GB, free: 15.64 MB / 1.167 GB " [Timeout remaining time 292] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.893006598576903]