Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005987/0.005987, allocations: 100 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 197 kB / 16.68 MB, free: 5.973 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.653/2.653, allocations: 469.8 MB / 0.7425 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2773, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8935/1.171, allocations: 294.9 MB / 1.509 GB, free: 14.03 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02978/1.201, allocations: 23.09 MB / 1.531 GB, free: 6.883 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003151/1.204, allocations: 75.62 kB / 1.531 GB, free: 6.809 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.004524/1.208, allocations: 1.884 MB / 1.533 GB, free: 4.914 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.014/1.222, allocations: 6.309 MB / 1.539 GB, free: 14.58 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007059/1.229, allocations: 2.937 MB / 1.542 GB, free: 11.65 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.008756/1.238, allocations: 7.299 MB / 1.549 GB, free: 4.328 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003344/1.241, allocations: 2.473 MB / 1.552 GB, free: 1.801 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005547/1.247, allocations: 2.949 MB / 1.555 GB, free: 14.88 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/1.251, allocations: 2.704 MB / 1.557 GB, free: 12.17 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0006675/1.252, allocations: 348 kB / 1.558 GB, free: 11.83 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/1.262, allocations: 6.009 MB / 1.563 GB, free: 5.809 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001924/1.264, allocations: 1.496 MB / 1.565 GB, free: 4.309 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.00258/1.267, allocations: 1.898 MB / 1.567 GB, free: 2.402 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01245/1.279, allocations: 6.955 MB / 1.574 GB, free: 11.43 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/1.279, allocations: 4 kB / 1.574 GB, free: 11.42 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.423e-06/1.279, allocations: 0 / 1.574 GB, free: 11.42 MB / 1.264 GB Notification: Performance of Transformations before backend: time 8.857e-05/1.279, allocations: 4 kB / 1.574 GB, free: 11.42 MB / 1.264 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.009374/1.289, allocations: 4.195 MB / 1.578 GB, free: 7.145 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/1.289, allocations: 12.03 kB / 1.578 GB, free: 7.133 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00547/1.294, allocations: 0.8643 MB / 1.579 GB, free: 6.266 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/1.297, allocations: 1.866 MB / 1.58 GB, free: 4.344 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/1.298, allocations: 209.4 kB / 1.581 GB, free: 4.137 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/1.298, allocations: 279.9 kB / 1.581 GB, free: 3.863 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005543/1.303, allocations: 3.601 MB / 1.584 GB, free: 140 kB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/1.304, allocations: 7.938 kB / 1.584 GB, free: 132 kB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/1.304, allocations: 112 kB / 1.584 GB, free: 20 kB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/1.304, allocations: 149.2 kB / 1.585 GB, free: 15.87 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005351/1.309, allocations: 3.294 MB / 1.588 GB, free: 12.57 MB / 1.279 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.01593/1.325, allocations: 14.23 MB / 1.602 GB, free: 13.12 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003875/1.329, allocations: 2.376 MB / 1.604 GB, free: 10.67 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/1.331, allocations: 1.243 MB / 1.605 GB, free: 9.422 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/1.332, allocations: 1.378 MB / 1.607 GB, free: 7.75 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002131/1.334, allocations: 1.226 MB / 1.608 GB, free: 6.512 MB / 1.295 GB Notification: Performance of pre-optimization done (n=213): time 4.668e-06/1.335, allocations: 0 / 1.608 GB, free: 6.512 MB / 1.295 GB Notification: Performance of matching and sorting (n=213): time 0.005868/1.34, allocations: 3.181 MB / 1.611 GB, free: 3.328 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/1.34, allocations: 81.34 kB / 1.611 GB, free: 3.238 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/1.343, allocations: 1.456 MB / 1.612 GB, free: 1.777 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.343, allocations: 65.7 kB / 1.612 GB, free: 1.707 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009508/1.344, allocations: 1.137 MB / 1.614 GB, free: 0.5586 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006968/1.345, allocations: 0.7706 MB / 1.614 GB, free: 15.78 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005883/1.345, allocations: 363.5 kB / 1.615 GB, free: 15.42 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/1.345, allocations: 305.1 kB / 1.615 GB, free: 15.12 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/1.347, allocations: 0.9097 MB / 1.616 GB, free: 14.2 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/1.349, allocations: 1.255 MB / 1.617 GB, free: 12.82 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003536/1.352, allocations: 2.325 MB / 1.619 GB, free: 10.39 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.352, allocations: 0 / 1.619 GB, free: 10.39 MB / 1.311 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004428/1.357, allocations: 2.607 MB / 1.622 GB, free: 7.77 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/1.357, allocations: 39.41 kB / 1.622 GB, free: 7.727 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.357, allocations: 8 kB / 1.622 GB, free: 7.719 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/1.357, allocations: 16 kB / 1.622 GB, free: 7.703 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/1.359, allocations: 467.3 kB / 1.622 GB, free: 7.246 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-05/1.359, allocations: 27.86 kB / 1.622 GB, free: 7.219 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/1.361, allocations: 198.5 kB / 1.623 GB, free: 7.023 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/1.361, allocations: 79.98 kB / 1.623 GB, free: 6.945 MB / 1.311 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.001142/1.362, allocations: 0.6812 MB / 1.623 GB, free: 6.254 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/1.362, allocations: 226.4 kB / 1.624 GB, free: 6.035 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/1.367, allocations: 2.519 MB / 1.626 GB, free: 3.504 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/1.367, allocations: 20 kB / 1.626 GB, free: 3.484 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.367, allocations: 3.938 kB / 1.626 GB, free: 3.48 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003447/1.37, allocations: 2.332 MB / 1.628 GB, free: 1.082 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008792/1.379, allocations: 5.608 MB / 1.634 GB, free: 11.36 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.379, allocations: 4 kB / 1.634 GB, free: 11.36 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/1.381, allocations: 479.6 kB / 1.634 GB, free: 10.89 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.767e-05/1.381, allocations: 8 kB / 1.634 GB, free: 10.88 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/1.382, allocations: 59.97 kB / 1.634 GB, free: 10.82 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.667e-05/1.382, allocations: 12 kB / 1.634 GB, free: 10.81 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/1.382, allocations: 4 kB / 1.634 GB, free: 10.8 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005934/1.387, allocations: 3.814 MB / 1.638 GB, free: 6.941 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.389, allocations: 0.5461 MB / 1.639 GB, free: 6.375 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/1.389, allocations: 43.98 kB / 1.639 GB, free: 6.332 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/1.391, allocations: 66.03 kB / 1.639 GB, free: 6.27 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/1.391, allocations: 153.7 kB / 1.639 GB, free: 6.121 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.391, allocations: 75.91 kB / 1.639 GB, free: 6.047 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001752/1.393, allocations: 0.9866 MB / 1.64 GB, free: 5.066 MB / 1.326 GB Notification: Performance of sort global known variables: time 9e-08/1.393, allocations: 0 / 1.64 GB, free: 5.066 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003059/1.396, allocations: 0.9434 MB / 1.641 GB, free: 4.121 MB / 1.326 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.000893/1.397, allocations: 386 kB / 1.641 GB, free: 3.742 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.003988/1.401, allocations: 2.231 MB / 1.643 GB, free: 1.496 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.401, allocations: 4 kB / 1.643 GB, free: 1.492 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.403, allocations: 1.149 MB / 1.644 GB, free: 356 kB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/1.408, allocations: 1.29 MB / 1.646 GB, free: 15.08 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009407/1.418, allocations: 5.88 MB / 1.651 GB, free: 9.137 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/1.42, allocations: 1.971 MB / 1.653 GB, free: 7.129 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.002357/1.422, allocations: 0.7171 MB / 1.654 GB, free: 6.41 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006839/1.423, allocations: 199.4 kB / 1.654 GB, free: 6.215 MB / 1.342 GB Notification: Performance of SimCode: time 6.42e-07/1.423, allocations: 0 / 1.654 GB, free: 6.215 MB / 1.342 GB Notification: Performance of Templates: time 0.07719/1.5, allocations: 48.1 MB / 1.701 GB, free: 6.691 MB / 1.389 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches