Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 190.7 kB / 16.93 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.951/2.951, allocations: 437.8 MB / 0.7128 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003992, allocations: 11.98 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.064, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.283/2.347, allocations: 288.1 MB / 1.305 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03758/2.384, allocations: 23 MB / 1.327 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00608/2.391, allocations: 63.5 kB / 1.328 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006382/2.397, allocations: 1.554 MB / 1.329 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0222/2.419, allocations: 5.779 MB / 1.335 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01081/2.43, allocations: 2.629 MB / 1.337 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01745/2.447, allocations: 10.72 MB / 1.348 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006763/2.454, allocations: 2.438 MB / 1.35 GB, free: 356 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01088/2.465, allocations: 2.43 MB / 1.352 GB, free: 344 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008334/2.474, allocations: 2.708 MB / 1.355 GB, free: 324 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001854/2.475, allocations: 168.1 kB / 1.355 GB, free: 324 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0207/2.496, allocations: 6.879 MB / 1.362 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004198/2.5, allocations: 1.28 MB / 1.363 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007061/2.507, allocations: 1.708 MB / 1.365 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01296/2.52, allocations: 5.064 MB / 1.37 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/2.521, allocations: 0 / 1.37 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.796e-06/2.521, allocations: 0 / 1.37 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002593/2.521, allocations: 0 / 1.37 GB, free: 10.02 MB / 0.9981 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.01356/2.534, allocations: 3.481 MB / 1.373 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/2.534, allocations: 9.812 kB / 1.373 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007068/2.542, allocations: 0.8427 MB / 1.374 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007129/2.549, allocations: 1.787 MB / 1.376 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/2.549, allocations: 213.7 kB / 1.376 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/2.55, allocations: 275.6 kB / 1.376 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/2.563, allocations: 3.601 MB / 1.38 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/2.563, allocations: 9.281 kB / 1.38 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008608/2.564, allocations: 116.7 kB / 1.38 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002881/2.564, allocations: 146.2 kB / 1.38 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008617/2.573, allocations: 3.297 MB / 1.383 GB, free: 2.012 MB / 0.9981 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.02371/2.596, allocations: 14.16 MB / 1.397 GB, free: 3.605 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00452/2.601, allocations: 2.504 MB / 1.4 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/2.603, allocations: 1.36 MB / 1.401 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/2.605, allocations: 1.377 MB / 1.402 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002415/2.607, allocations: 1.236 MB / 1.403 GB, free: 12.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=213): time 4.378e-06/2.607, allocations: 0 / 1.403 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=213): time 0.006544/2.614, allocations: 3.183 MB / 1.407 GB, free: 9.586 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/2.614, allocations: 79.98 kB / 1.407 GB, free: 9.504 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/2.617, allocations: 1.452 MB / 1.408 GB, free: 8.047 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/2.617, allocations: 65.7 kB / 1.408 GB, free: 7.977 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/2.618, allocations: 1.127 MB / 1.409 GB, free: 6.836 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009443/2.619, allocations: 0.7285 MB / 1.41 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/2.62, allocations: 165.7 kB / 1.41 GB, free: 5.945 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001124/2.62, allocations: 301.1 kB / 1.41 GB, free: 5.648 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/2.622, allocations: 0.9175 MB / 1.411 GB, free: 4.727 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/2.624, allocations: 1.261 MB / 1.413 GB, free: 3.344 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/2.628, allocations: 2.335 MB / 1.415 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/2.628, allocations: 0 / 1.415 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005161/2.633, allocations: 2.615 MB / 1.417 GB, free: 14.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/2.633, allocations: 37.64 kB / 1.417 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/2.633, allocations: 8 kB / 1.417 GB, free: 14.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.199e-05/2.633, allocations: 18.81 kB / 1.417 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/2.635, allocations: 478.5 kB / 1.418 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.715e-05/2.635, allocations: 18.62 kB / 1.418 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003334/2.638, allocations: 401.7 kB / 1.418 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/2.638, allocations: 75.98 kB / 1.418 GB, free: 13.35 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (258): * Single equations (assignments): 257 * 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.001715/2.64, allocations: 0.6814 MB / 1.419 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007423/2.641, allocations: 221.4 kB / 1.419 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004999/2.646, allocations: 2.537 MB / 1.422 GB, free: 9.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/2.646, allocations: 20 kB / 1.422 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/2.646, allocations: 0 / 1.422 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003672/2.65, allocations: 2.339 MB / 1.424 GB, free: 7.492 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/2.661, allocations: 5.626 MB / 1.43 GB, free: 1.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/2.661, allocations: 8.062 kB / 1.43 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/2.664, allocations: 489.5 kB / 1.43 GB, free: 1.359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.335e-05/2.664, allocations: 11.94 kB / 1.43 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/2.664, allocations: 51.98 kB / 1.43 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.369e-05/2.664, allocations: 18.75 kB / 1.43 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.664, allocations: 0 / 1.43 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006544/2.67, allocations: 3.811 MB / 1.434 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/2.672, allocations: 0.5371 MB / 1.434 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006265/2.673, allocations: 48 kB / 1.434 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/2.675, allocations: 248.6 kB / 1.435 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/2.676, allocations: 148.6 kB / 1.435 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/2.676, allocations: 75.92 kB / 1.435 GB, free: 12.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001843/2.678, allocations: 0.9905 MB / 1.436 GB, free: 11.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/2.678, allocations: 0 / 1.436 GB, free: 11.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003189/2.681, allocations: 0.935 MB / 1.437 GB, free: 10.44 MB / 1.061 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.0009771/2.682, allocations: 383.5 kB / 1.437 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004412/2.686, allocations: 2.34 MB / 1.439 GB, free: 7.789 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/2.687, allocations: 4 kB / 1.439 GB, free: 7.785 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/2.689, allocations: 1.224 MB / 1.441 GB, free: 6.605 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008033/2.697, allocations: 1.237 MB / 1.442 GB, free: 5.379 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/2.71, allocations: 7.456 MB / 1.449 GB, free: 13.87 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002591/2.713, allocations: 1.979 MB / 1.451 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/2.714, allocations: 211.4 kB / 1.451 GB, free: 11.65 MB / 1.076 GB Notification: Performance of SimCode: time 1.673e-06/2.714, allocations: 4 kB / 1.451 GB, free: 11.64 MB / 1.076 GB Notification: Performance of Templates: time 0.07667/2.791, allocations: 41.21 MB / 1.491 GB, free: 2.668 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches