Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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.001476/0.001476, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 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.001669/0.001669, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.486/1.486, allocations: 177.2 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.267/3.267, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.973e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2021/0.2021, allocations: 143.1 MB / 1.017 GB, free: 6.883 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005797/0.2079, allocations: 2.741 MB / 1.02 GB, free: 4.137 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.2083, allocations: 27.75 kB / 1.02 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007088/0.209, allocations: 202.8 kB / 1.02 GB, free: 3.91 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.2113, allocations: 0.8355 MB / 1.021 GB, free: 3.07 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009552/0.2122, allocations: 355 kB / 1.021 GB, free: 2.723 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.2136, allocations: 0.9816 MB / 1.022 GB, free: 1.734 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.214, allocations: 214.7 kB / 1.023 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009267/0.215, allocations: 498.5 kB / 1.023 GB, free: 1.035 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009252/0.2159, allocations: 279.8 kB / 1.023 GB, free: 0.7734 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 9.154e-05/0.216, allocations: 32 kB / 1.023 GB, free: 0.7422 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.2174, allocations: 0.5452 MB / 1.024 GB, free: 200 kB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.2176, allocations: 147.5 kB / 1.024 GB, free: 52 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.2179, allocations: 151.6 kB / 1.024 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.2192, allocations: 0.7517 MB / 1.025 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2192, allocations: 4 kB / 1.025 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2192, allocations: 0 / 1.025 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.2192, allocations: 3.938 kB / 1.025 GB, free: 15.14 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001285/0.2205, allocations: 0.6446 MB / 1.025 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2205, allocations: 12.03 kB / 1.026 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.2216, allocations: 167.4 kB / 1.026 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009241/0.2226, allocations: 388 kB / 1.026 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.2226, allocations: 16.5 kB / 1.026 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.2227, allocations: 28 kB / 1.026 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.2233, allocations: 369.6 kB / 1.026 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.2233, allocations: 11.95 kB / 1.026 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.2233, allocations: 8 kB / 1.026 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.2234, allocations: 16.42 kB / 1.026 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.2238, allocations: 201.8 kB / 1.027 GB, free: 13.21 MB / 0.9948 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.001673/0.2254, allocations: 0.8004 MB / 1.027 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.2259, allocations: 188.3 kB / 1.028 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.2262, allocations: 80.83 kB / 1.028 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2262, allocations: 4 kB / 1.028 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.2262, allocations: 38.5 kB / 1.028 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.2262, allocations: 0 / 1.028 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.001019/0.2272, allocations: 332.6 kB / 1.028 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2273, allocations: 55.34 kB / 1.028 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.2277, allocations: 288.6 kB / 1.028 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.2277, allocations: 29.7 kB / 1.028 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.2279, allocations: 208.5 kB / 1.029 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.228, allocations: 75.36 kB / 1.029 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.2281, allocations: 49.66 kB / 1.029 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.2283, allocations: 338.8 kB / 1.029 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.2284, allocations: 63.97 kB / 1.029 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.2286, allocations: 121.9 kB / 1.029 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.2289, allocations: 185.9 kB / 1.029 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2289, allocations: 0 / 1.029 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000449/0.2294, allocations: 263.3 kB / 1.03 GB, free: 9.98 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2294, allocations: 4 kB / 1.03 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2294, allocations: 4 kB / 1.03 GB, free: 9.973 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2294, allocations: 0 / 1.03 GB, free: 9.973 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2296, allocations: 43.92 kB / 1.03 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2296, allocations: 7.938 kB / 1.03 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.2299, allocations: 15.89 kB / 1.03 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.2299, allocations: 16.19 kB / 1.03 GB, free: 9.891 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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.0001941/0.2301, allocations: 165.7 kB / 1.03 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.2302, allocations: 39.81 kB / 1.03 GB, free: 9.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.753e-05/0.2303, allocations: 34.3 kB / 1.03 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2303, allocations: 0 / 1.03 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.2303, allocations: 3.938 kB / 1.03 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2303, allocations: 7.984 kB / 1.03 GB, free: 9.633 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.2308, allocations: 281.1 kB / 1.03 GB, free: 9.328 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2308, allocations: 0 / 1.03 GB, free: 9.328 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.231, allocations: 39.91 kB / 1.03 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/0.2313, allocations: 52.83 kB / 1.03 GB, free: 9.234 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.2313, allocations: 8 kB / 1.03 GB, free: 9.227 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.2331, allocations: 1.381 MB / 1.032 GB, free: 7.746 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2331, allocations: 0 / 1.032 GB, free: 7.746 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.2338, allocations: 405.7 kB / 1.032 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.2339, allocations: 59.77 kB / 1.032 GB, free: 7.273 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.2339, allocations: 3.938 kB / 1.032 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.2342, allocations: 8 kB / 1.032 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.2342, allocations: 15.97 kB / 1.032 GB, free: 7.246 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2343, allocations: 4 kB / 1.032 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002731/0.2345, allocations: 211.1 kB / 1.032 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2345, allocations: 0 / 1.032 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000456/0.235, allocations: 111.8 kB / 1.032 GB, free: 6.926 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002005/0.2352, allocations: 111.2 kB / 1.033 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.2355, allocations: 153.9 kB / 1.033 GB, free: 6.66 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2355, allocations: 4.125 kB / 1.033 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.2359, allocations: 210.4 kB / 1.033 GB, free: 6.438 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.2369, allocations: 204 kB / 1.033 GB, free: 6.246 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.2381, allocations: 0.6513 MB / 1.034 GB, free: 5.57 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.2384, allocations: 194 kB / 1.034 GB, free: 5.359 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.2386, allocations: 58.94 kB / 1.034 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.2387, allocations: 24.5 kB / 1.034 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of SimCode: time 5.91e-07/0.2387, allocations: 4 kB / 1.034 GB, free: 5.273 MB / 0.9948 GB Notification: Performance of Templates: time 0.01406/0.2528, allocations: 6.503 MB / 1.04 GB, free: 14.93 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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: 8.602072998997755]