Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001606/0.001606, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001993/0.001993, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.546/2.546, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7914/0.7927, allocations: 140.3 MB / 0.9489 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3615/1.154, allocations: 292.1 MB / 1.234 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8542/2.009, allocations: 23.24 MB / 1.257 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005506/2.014, allocations: 71.25 kB / 1.257 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006732/2.021, allocations: 1.555 MB / 1.258 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01828/2.039, allocations: 5.773 MB / 1.264 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009752/2.049, allocations: 2.632 MB / 1.267 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01917/2.068, allocations: 10.72 MB / 1.277 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006016/2.074, allocations: 2.528 MB / 1.28 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01163/2.086, allocations: 2.529 MB / 1.282 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008835/2.095, allocations: 2.828 MB / 1.285 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002061/2.097, allocations: 201.7 kB / 1.285 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0197/2.117, allocations: 6.902 MB / 1.292 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004037/2.121, allocations: 1.337 MB / 1.293 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008255/2.129, allocations: 1.757 MB / 1.295 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02263/2.152, allocations: 7.175 MB / 1.302 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/2.152, allocations: 0 / 1.302 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.056e-06/2.152, allocations: 2.906 kB / 1.302 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003162/2.152, allocations: 0 / 1.302 GB, free: 0.8164 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.01861/2.171, allocations: 4.105 MB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/2.171, allocations: 8.094 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007925/2.179, allocations: 0.8388 MB / 1.307 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006782/2.185, allocations: 1.781 MB / 1.308 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/2.186, allocations: 220.1 kB / 1.309 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/2.187, allocations: 273.7 kB / 1.309 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/2.201, allocations: 3.594 MB / 1.312 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002072/2.201, allocations: 9.781 kB / 1.312 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/2.202, allocations: 113 kB / 1.312 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002489/2.203, allocations: 148.4 kB / 1.313 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009892/2.213, allocations: 3.29 MB / 1.316 GB, free: 14 MB / 1.014 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.02728/2.24, allocations: 14.14 MB / 1.33 GB, free: 5.691 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/2.244, allocations: 2.492 MB / 1.332 GB, free: 5.246 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/2.247, allocations: 1.356 MB / 1.333 GB, free: 5.223 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/2.248, allocations: 1.374 MB / 1.335 GB, free: 3.715 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002577/2.251, allocations: 1.223 MB / 1.336 GB, free: 3.641 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 5.851e-06/2.251, allocations: 0 / 1.336 GB, free: 3.641 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.00683/2.258, allocations: 3.168 MB / 1.339 GB, free: 3.102 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/2.258, allocations: 83.53 kB / 1.339 GB, free: 3.031 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/2.261, allocations: 1.452 MB / 1.341 GB, free: 2.625 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003083/2.261, allocations: 67.64 kB / 1.341 GB, free: 2.594 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001341/2.262, allocations: 1.121 MB / 1.342 GB, free: 2.008 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/2.263, allocations: 0.7327 MB / 1.342 GB, free: 1.469 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008337/2.264, allocations: 358 kB / 1.343 GB, free: 1.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001211/2.264, allocations: 301.1 kB / 1.343 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/2.266, allocations: 0.9166 MB / 1.344 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/2.268, allocations: 1.254 MB / 1.345 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003815/2.272, allocations: 2.323 MB / 1.347 GB, free: 15.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/2.272, allocations: 2.875 kB / 1.347 GB, free: 15.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005083/2.277, allocations: 2.602 MB / 1.35 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.56e-05/2.277, allocations: 36.86 kB / 1.35 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/2.277, allocations: 5.344 kB / 1.35 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.264e-05/2.277, allocations: 20.97 kB / 1.35 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/2.279, allocations: 470.1 kB / 1.35 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-05/2.279, allocations: 24.03 kB / 1.35 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/2.283, allocations: 400.1 kB / 1.351 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/2.283, allocations: 77.23 kB / 1.351 GB, free: 15.2 MB / 1.029 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.001759/2.285, allocations: 0.6885 MB / 1.352 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008778/2.286, allocations: 213.7 kB / 1.352 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0049/2.291, allocations: 2.525 MB / 1.354 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/2.291, allocations: 24.78 kB / 1.354 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/2.291, allocations: 0 / 1.354 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003564/2.294, allocations: 2.324 MB / 1.357 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/2.306, allocations: 5.61 MB / 1.362 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/2.306, allocations: 4 kB / 1.362 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/2.308, allocations: 475.9 kB / 1.363 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-05/2.308, allocations: 11.66 kB / 1.363 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/2.309, allocations: 52.3 kB / 1.363 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.677e-05/2.309, allocations: 10.62 kB / 1.363 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/2.309, allocations: 4 kB / 1.363 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006441/2.315, allocations: 3.806 MB / 1.366 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/2.317, allocations: 0.5315 MB / 1.367 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006462/2.318, allocations: 46.19 kB / 1.367 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002709/2.32, allocations: 246 kB / 1.367 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/2.321, allocations: 152.3 kB / 1.367 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/2.321, allocations: 72.41 kB / 1.367 GB, free: 8.051 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001919/2.323, allocations: 0.9888 MB / 1.368 GB, free: 7.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.4e-07/2.323, allocations: 0 / 1.368 GB, free: 7.328 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003447/2.326, allocations: 0.9384 MB / 1.369 GB, free: 6.457 MB / 1.029 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.001055/2.327, allocations: 386.6 kB / 1.37 GB, free: 6.148 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004466/2.332, allocations: 2.33 MB / 1.372 GB, free: 4.016 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/2.332, allocations: 4.062 kB / 1.372 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002209/2.334, allocations: 1.224 MB / 1.373 GB, free: 2.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008148/2.342, allocations: 1.237 MB / 1.374 GB, free: 1.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/2.356, allocations: 7.014 MB / 1.381 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/2.358, allocations: 1.968 MB / 1.383 GB, free: 8.566 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00381/2.362, allocations: 0.7251 MB / 1.384 GB, free: 7.836 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/2.363, allocations: 195.3 kB / 1.384 GB, free: 7.645 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/2.363, allocations: 0 / 1.384 GB, free: 7.645 MB / 1.045 GB Notification: Performance of Templates: time 0.07617/2.439, allocations: 45.41 MB / 1.428 GB, free: 10.97 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches