Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001779/0.001779, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002136/0.002136, allocations: 162.1 kB / 23.01 MB, free: 4.949 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.5/1.5, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.757/2.757, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_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_11_Buildings.Examples.Tutorial.SpaceCooling.System1") [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.002185/0.002185, allocations: 67.89 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2948, allocations: 169.9 MB / 1.117 GB, free: 2.598 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7375/1.032, allocations: 143.1 MB / 1.257 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005136/1.037, allocations: 2.739 MB / 1.26 GB, free: 13.79 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/1.038, allocations: 18.28 kB / 1.26 GB, free: 13.78 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000748/1.039, allocations: 196.6 kB / 1.26 GB, free: 13.68 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/1.041, allocations: 0.811 MB / 1.261 GB, free: 13.23 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009926/1.042, allocations: 346.3 kB / 1.261 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001554/1.044, allocations: 0.9601 MB / 1.262 GB, free: 12.6 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/1.044, allocations: 215.2 kB / 1.262 GB, free: 12.49 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007105/1.045, allocations: 365.5 kB / 1.263 GB, free: 12.32 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009731/1.046, allocations: 291.7 kB / 1.263 GB, free: 12.21 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.817e-05/1.046, allocations: 33.47 kB / 1.263 GB, free: 12.21 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/1.047, allocations: 0.53 MB / 1.263 GB, free: 12.02 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/1.047, allocations: 134.3 kB / 1.264 GB, free: 11.95 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002444/1.047, allocations: 187.5 kB / 1.264 GB, free: 11.86 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/1.049, allocations: 0.7377 MB / 1.265 GB, free: 11.6 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.049, allocations: 0 / 1.265 GB, free: 11.6 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.934e-06/1.049, allocations: 1.094 kB / 1.265 GB, free: 11.6 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.049, allocations: 0 / 1.265 GB, free: 11.6 MB / 1.123 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.001216/1.05, allocations: 0.6409 MB / 1.265 GB, free: 11.12 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/1.05, allocations: 9.719 kB / 1.265 GB, free: 11.12 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/1.051, allocations: 147.8 kB / 1.265 GB, free: 11.08 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007288/1.052, allocations: 358.9 kB / 1.266 GB, free: 10.82 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/1.052, allocations: 18.53 kB / 1.266 GB, free: 10.82 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/1.052, allocations: 28.59 kB / 1.266 GB, free: 10.8 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/1.052, allocations: 380.2 kB / 1.266 GB, free: 10.55 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/1.052, allocations: 3.984 kB / 1.266 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/1.052, allocations: 11.53 kB / 1.266 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/1.052, allocations: 10.02 kB / 1.266 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/1.053, allocations: 200 kB / 1.266 GB, free: 10.46 MB / 1.123 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.001629/1.055, allocations: 0.791 MB / 1.267 GB, free: 9.945 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/1.055, allocations: 185.6 kB / 1.267 GB, free: 9.859 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/1.055, allocations: 84.03 kB / 1.267 GB, free: 9.82 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/1.055, allocations: 3.859 kB / 1.267 GB, free: 9.82 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/1.055, allocations: 33.42 kB / 1.267 GB, free: 9.781 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/1.055, allocations: 0 / 1.267 GB, free: 9.781 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.00101/1.056, allocations: 330.7 kB / 1.268 GB, free: 9.633 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/1.056, allocations: 54.69 kB / 1.268 GB, free: 9.57 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/1.057, allocations: 293.1 kB / 1.268 GB, free: 9.41 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/1.057, allocations: 31.83 kB / 1.268 GB, free: 9.375 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/1.057, allocations: 196.6 kB / 1.268 GB, free: 9.211 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.505e-05/1.057, allocations: 78.09 kB / 1.268 GB, free: 9.148 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/1.057, allocations: 44.78 kB / 1.268 GB, free: 9.117 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.057, allocations: 338.2 kB / 1.269 GB, free: 8.793 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/1.057, allocations: 67.61 kB / 1.269 GB, free: 8.766 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/1.057, allocations: 126 kB / 1.269 GB, free: 8.672 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/1.058, allocations: 189 kB / 1.269 GB, free: 8.547 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.058, allocations: 1.344 kB / 1.269 GB, free: 8.547 MB / 1.123 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004188/1.058, allocations: 252.6 kB / 1.269 GB, free: 8.418 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.058, allocations: 5.906 kB / 1.269 GB, free: 8.418 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.058, allocations: 4.297 kB / 1.269 GB, free: 8.418 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.058, allocations: 7.625 kB / 1.269 GB, free: 8.414 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/1.058, allocations: 39.03 kB / 1.269 GB, free: 8.414 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/1.058, allocations: 7.875 kB / 1.269 GB, free: 8.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/1.059, allocations: 15.92 kB / 1.269 GB, free: 8.398 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/1.059, allocations: 6.281 kB / 1.269 GB, free: 8.398 MB / 1.123 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.0001846/1.059, allocations: 160.1 kB / 1.269 GB, free: 8.258 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/1.059, allocations: 38.66 kB / 1.27 GB, free: 8.234 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/1.059, allocations: 37.83 kB / 1.27 GB, free: 8.207 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/1.059, allocations: 2.156 kB / 1.27 GB, free: 8.207 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.059, allocations: 5.734 kB / 1.27 GB, free: 8.203 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.059, allocations: 0.75 kB / 1.27 GB, free: 8.203 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/1.059, allocations: 282.9 kB / 1.27 GB, free: 8.012 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.059, allocations: 0 / 1.27 GB, free: 8.012 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/1.06, allocations: 29.47 kB / 1.27 GB, free: 8.012 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/1.06, allocations: 47.64 kB / 1.27 GB, free: 7.988 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/1.06, allocations: 6.641 kB / 1.27 GB, free: 7.984 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/1.061, allocations: 1.388 MB / 1.271 GB, free: 6.668 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/1.061, allocations: 0.6562 kB / 1.271 GB, free: 6.668 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/1.062, allocations: 400.5 kB / 1.272 GB, free: 6.418 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/1.062, allocations: 48.84 kB / 1.272 GB, free: 6.391 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/1.062, allocations: 6.938 kB / 1.272 GB, free: 6.387 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/1.062, allocations: 2.812 kB / 1.272 GB, free: 6.387 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/1.062, allocations: 20.16 kB / 1.272 GB, free: 6.379 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/1.062, allocations: 8.922 kB / 1.272 GB, free: 6.375 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002406/1.063, allocations: 213.3 kB / 1.272 GB, free: 6.254 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.063, allocations: 0 / 1.272 GB, free: 6.254 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004678/1.063, allocations: 109.1 kB / 1.272 GB, free: 6.234 MB / 1.123 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.0001942/1.063, allocations: 123 kB / 1.272 GB, free: 6.133 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003247/1.064, allocations: 155.2 kB / 1.272 GB, free: 6.078 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.064, allocations: 0.6094 kB / 1.272 GB, free: 6.078 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/1.064, allocations: 195.8 kB / 1.272 GB, free: 5.938 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/1.065, allocations: 196 kB / 1.273 GB, free: 5.891 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/1.066, allocations: 0.7456 MB / 1.273 GB, free: 5.398 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/1.067, allocations: 193.5 kB / 1.274 GB, free: 5.312 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002404/1.067, allocations: 57.38 kB / 1.274 GB, free: 5.297 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/1.067, allocations: 26.12 kB / 1.274 GB, free: 5.289 MB / 1.123 GB Notification: Performance of SimCode: time 5.21e-07/1.067, allocations: 1.312 kB / 1.274 GB, free: 5.289 MB / 1.123 GB Notification: Performance of Templates: time 0.01373/1.081, allocations: 6.44 MB / 1.28 GB, free: 4.559 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.008832742925733]