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.001239/0.001239, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001717/0.002956, allocations: 449.7 kB / 10.37 MB, free: 328 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.00109/0.00109, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002491, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9252/0.9252, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09748/1.023, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.725/1.725, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4619/2.187, allocations: 123.3 MB / 0.728 GB, free: 5.801 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.573e-06/1.573e-06, allocations: 0 / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.407e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.1703/0.1703, allocations: 161.7 MB / 0.8873 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.1831, allocations: 9.655 MB / 0.8967 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.1842, allocations: 99.25 kB / 0.8968 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009731/0.1852, allocations: 0.6594 MB / 0.8975 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003355/0.1885, allocations: 2.828 MB / 0.9002 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.1909, allocations: 1.733 MB / 0.9019 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005176/0.196, allocations: 7.394 MB / 0.9092 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00354/0.1996, allocations: 2.373 MB / 0.9115 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005116/0.2047, allocations: 4.289 MB / 0.9157 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.2069, allocations: 2.404 MB / 0.918 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0003565/0.2073, allocations: 336 kB / 0.9183 GB, free: 2.621 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.2087, allocations: 0.9476 MB / 0.9193 GB, free: 1.672 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0008614/0.2096, allocations: 1.364 MB / 0.9206 GB, free: 312 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.211, allocations: 1.143 MB / 0.9217 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.2136, allocations: 3.08 MB / 0.9247 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.2136, allocations: 3.984 kB / 0.9247 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2136, allocations: 4 kB / 0.9247 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.501e-05/0.2136, allocations: 0 / 0.9247 GB, free: 12.06 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.004315/0.2179, allocations: 4.418 MB / 0.929 GB, free: 7.57 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.218, allocations: 12.03 kB / 0.929 GB, free: 7.559 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.2202, allocations: 1.068 MB / 0.9301 GB, free: 6.488 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.2218, allocations: 1.333 MB / 0.9314 GB, free: 5.102 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.454e-05/0.2219, allocations: 205.4 kB / 0.9316 GB, free: 4.898 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.2222, allocations: 283.9 kB / 0.9319 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.2243, allocations: 2.463 MB / 0.9343 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.2244, allocations: 7.938 kB / 0.9343 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.2245, allocations: 119.9 kB / 0.9344 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.194e-05/0.2246, allocations: 141.2 kB / 0.9345 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.2262, allocations: 1.021 MB / 0.9355 GB, free: 0.6328 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.005946/0.2321, allocations: 7.024 MB / 0.9424 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.2335, allocations: 1.091 MB / 0.9434 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.234, allocations: 499.8 kB / 0.9439 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.2343, allocations: 145.9 kB / 0.9441 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007301/0.235, allocations: 0.9615 MB / 0.945 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=213): time 3.687e-06/0.235, allocations: 0 / 0.945 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of matching and sorting (n=213): time 0.001416/0.2364, allocations: 1.135 MB / 0.9461 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.2365, allocations: 81.34 kB / 0.9462 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.2372, allocations: 1.088 MB / 0.9472 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.2373, allocations: 69.7 kB / 0.9473 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.2377, allocations: 0.974 MB / 0.9483 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.238, allocations: 0.7628 MB / 0.949 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.2384, allocations: 379.9 kB / 0.9494 GB, free: 2.137 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003372/0.2387, allocations: 305.1 kB / 0.9497 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.2391, allocations: 293.2 kB / 0.9499 GB, free: 1.539 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.2397, allocations: 0.8706 MB / 0.9508 GB, free: 444 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.2408, allocations: 1.214 MB / 0.952 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.2408, allocations: 7.984 kB / 0.952 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001289/0.2421, allocations: 1.234 MB / 0.9532 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.2421, allocations: 41.69 kB / 0.9532 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.2421, allocations: 12 kB / 0.9532 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/0.2422, allocations: 24 kB / 0.9533 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.2434, allocations: 0.5619 MB / 0.9538 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.2434, allocations: 31.86 kB / 0.9538 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008471/0.2442, allocations: 194.4 kB / 0.954 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.2443, allocations: 67.98 kB / 0.9541 GB, free: 12.84 MB / 0.9323 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.0003852/0.2447, allocations: 244 kB / 0.9543 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.245, allocations: 203.8 kB / 0.9545 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.2463, allocations: 1.1 MB / 0.9556 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.2463, allocations: 20 kB / 0.9556 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.2463, allocations: 7.938 kB / 0.9556 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/0.2475, allocations: 0.9255 MB / 0.9565 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.2505, allocations: 2.595 MB / 0.9591 GB, free: 7.582 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2505, allocations: 4 kB / 0.9591 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.2519, allocations: 0.5707 MB / 0.9596 GB, free: 7.004 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.2523, allocations: 326.1 kB / 0.9599 GB, free: 6.684 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.2523, allocations: 12 kB / 0.9599 GB, free: 6.672 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.2524, allocations: 51.97 kB / 0.96 GB, free: 6.621 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.2524, allocations: 11.94 kB / 0.96 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2524, allocations: 4 kB / 0.96 GB, free: 6.605 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.254, allocations: 1.629 MB / 0.9616 GB, free: 4.914 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.2542, allocations: 43.98 kB / 0.9616 GB, free: 4.871 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/0.2547, allocations: 51.98 kB / 0.9617 GB, free: 4.82 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.2549, allocations: 157.6 kB / 0.9618 GB, free: 4.668 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.255, allocations: 47.98 kB / 0.9619 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003705/0.2554, allocations: 0.5353 MB / 0.9624 GB, free: 4.086 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2554, allocations: 0 / 0.9624 GB, free: 4.086 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00164/0.257, allocations: 0.9745 MB / 0.9634 GB, free: 3.109 MB / 0.9323 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.0003585/0.2574, allocations: 229.7 kB / 0.9636 GB, free: 2.871 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.2584, allocations: 1.089 MB / 0.9646 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.202e-05/0.2585, allocations: 40.38 kB / 0.9647 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005063/0.259, allocations: 0.5467 MB / 0.9652 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.2613, allocations: 1.432 MB / 0.9666 GB, free: 15.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.2743, allocations: 4.729 MB / 0.9712 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.2747, allocations: 0.6392 MB / 0.9718 GB, free: 10.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001189/0.2759, allocations: 389.8 kB / 0.9722 GB, free: 9.898 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/0.2774, allocations: 0.7917 MB / 0.973 GB, free: 9.086 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/0.2774, allocations: 0 / 0.973 GB, free: 9.086 MB / 0.948 GB Notification: Performance of Templates: time 0.05375/0.3312, allocations: 49.29 MB / 1.021 GB, free: 8.801 MB / 0.9948 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.994372931309044]