Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.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.0009481/0.0009481, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001723/0.002671, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009734/0.0009734, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.00236, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9621/0.9621, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09178/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.826/1.826, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5046/2.331, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.312e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.1426/0.1426, allocations: 161.7 MB / 0.8876 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01529/0.1579, allocations: 9.654 MB / 0.8971 GB, free: 8.617 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.1609, allocations: 107.2 kB / 0.8972 GB, free: 8.512 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.1626, allocations: 0.6594 MB / 0.8978 GB, free: 7.848 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.00606/0.1687, allocations: 2.832 MB / 0.9006 GB, free: 5 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.1723, allocations: 1.729 MB / 0.9023 GB, free: 3.27 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.008209/0.1805, allocations: 7.388 MB / 0.9095 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00449/0.185, allocations: 2.38 MB / 0.9118 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008789/0.1938, allocations: 4.22 MB / 0.9159 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004466/0.1983, allocations: 2.4 MB / 0.9183 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0009193/0.1992, allocations: 336 kB / 0.9186 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.2022, allocations: 0.9476 MB / 0.9195 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.2035, allocations: 1.364 MB / 0.9208 GB, free: 304 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002562/0.2061, allocations: 1.143 MB / 0.922 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00468/0.2108, allocations: 3.076 MB / 0.925 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.2108, allocations: 0 / 0.925 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2108, allocations: 4 kB / 0.925 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.708e-05/0.2109, allocations: 4 kB / 0.925 GB, free: 12.05 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.005419/0.2163, allocations: 4.426 MB / 0.9293 GB, free: 7.555 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2163, allocations: 8.031 kB / 0.9293 GB, free: 7.547 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.219, allocations: 1.072 MB / 0.9303 GB, free: 6.473 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.2212, allocations: 1.329 MB / 0.9316 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.2213, allocations: 205.4 kB / 0.9318 GB, free: 4.887 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.2216, allocations: 295.9 kB / 0.9321 GB, free: 4.598 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.224, allocations: 2.459 MB / 0.9345 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/0.2241, allocations: 3.984 kB / 0.9345 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.2242, allocations: 123.9 kB / 0.9346 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.2243, allocations: 137.3 kB / 0.9348 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.2257, allocations: 1.021 MB / 0.9358 GB, free: 0.6172 MB / 0.9011 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.008268/0.2339, allocations: 7.024 MB / 0.9426 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.2352, allocations: 1.089 MB / 0.9437 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.2357, allocations: 0.492 MB / 0.9442 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/0.2361, allocations: 141.9 kB / 0.9443 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008979/0.237, allocations: 0.9693 MB / 0.9453 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=213): time 4.578e-06/0.237, allocations: 0 / 0.9453 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of matching and sorting (n=213): time 0.001745/0.2387, allocations: 1.136 MB / 0.9464 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.2387, allocations: 81.33 kB / 0.9464 GB, free: 5.418 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008219/0.2396, allocations: 1.088 MB / 0.9475 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.2397, allocations: 69.7 kB / 0.9476 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000579/0.2403, allocations: 0.9701 MB / 0.9485 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000508/0.2408, allocations: 0.7667 MB / 0.9493 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000366/0.2411, allocations: 375.9 kB / 0.9496 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.2412, allocations: 305.1 kB / 0.9499 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.2416, allocations: 293.1 kB / 0.9502 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/0.2422, allocations: 0.8706 MB / 0.9511 GB, free: 424 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.2434, allocations: 1.249 MB / 0.9523 GB, free: 14.98 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.2434, allocations: 4 kB / 0.9523 GB, free: 14.98 MB / 0.9324 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001476/0.2448, allocations: 1.234 MB / 0.9535 GB, free: 13.72 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.2449, allocations: 37.7 kB / 0.9535 GB, free: 13.68 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.2449, allocations: 12 kB / 0.9535 GB, free: 13.67 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/0.2449, allocations: 27.98 kB / 0.9536 GB, free: 13.64 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.2462, allocations: 0.5542 MB / 0.9541 GB, free: 13.09 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.2462, allocations: 31.86 kB / 0.9541 GB, free: 13.05 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.2472, allocations: 194.4 kB / 0.9543 GB, free: 12.86 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.2473, allocations: 71.98 kB / 0.9544 GB, free: 12.79 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 1 * 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.0006092/0.2479, allocations: 248 kB / 0.9546 GB, free: 12.54 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.2482, allocations: 199.8 kB / 0.9548 GB, free: 12.34 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.2495, allocations: 1.1 MB / 0.9559 GB, free: 11.23 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.2495, allocations: 27.94 kB / 0.9559 GB, free: 11.2 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2495, allocations: 3.938 kB / 0.9559 GB, free: 11.2 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008174/0.2504, allocations: 0.9255 MB / 0.9568 GB, free: 10.21 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.2538, allocations: 2.599 MB / 0.9594 GB, free: 7.527 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2538, allocations: 4 kB / 0.9594 GB, free: 7.523 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.2551, allocations: 0.5668 MB / 0.9599 GB, free: 6.953 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006419/0.2558, allocations: 330.1 kB / 0.9602 GB, free: 6.629 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.2558, allocations: 12 kB / 0.9602 GB, free: 6.617 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.308e-05/0.2559, allocations: 51.98 kB / 0.9603 GB, free: 6.566 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.2559, allocations: 11.98 kB / 0.9603 GB, free: 6.555 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2559, allocations: 4 kB / 0.9603 GB, free: 6.551 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.2575, allocations: 1.625 MB / 0.9619 GB, free: 4.863 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.2577, allocations: 48 kB / 0.9619 GB, free: 4.816 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.2584, allocations: 51.97 kB / 0.962 GB, free: 4.766 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.2586, allocations: 153.6 kB / 0.9621 GB, free: 4.617 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/0.2587, allocations: 51.97 kB / 0.9622 GB, free: 4.566 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.0004068/0.2591, allocations: 0.5353 MB / 0.9627 GB, free: 4.031 MB / 0.9324 GB Notification: Performance of sort global known variables: time 7e-08/0.2591, allocations: 0 / 0.9627 GB, free: 4.031 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.00167/0.2607, allocations: 0.9784 MB / 0.9637 GB, free: 3.051 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004198/0.2612, allocations: 231 kB / 0.9639 GB, free: 2.812 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.2625, allocations: 1.112 MB / 0.965 GB, free: 1.676 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 5.415e-05/0.2626, allocations: 44.38 kB / 0.965 GB, free: 1.637 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0007629/0.2633, allocations: 0.6716 MB / 0.9657 GB, free: 0.9688 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/0.2679, allocations: 6.691 MB / 0.9722 GB, free: 9.055 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.2826, allocations: 4.737 MB / 0.9768 GB, free: 4.23 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.2833, allocations: 0.6354 MB / 0.9774 GB, free: 3.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001616/0.2849, allocations: 390 kB / 0.9778 GB, free: 3.188 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/0.2868, allocations: 0.7918 MB / 0.9786 GB, free: 2.375 MB / 0.948 GB Notification: Performance of SimCode: time 2.515e-06/0.2868, allocations: 0 / 0.9786 GB, free: 2.375 MB / 0.948 GB Notification: Performance of Templates: time 0.05686/0.3436, allocations: 49.37 MB / 1.027 GB, free: 2.023 MB / 0.9949 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.242860603146255]