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.001469/0.001469, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001512/0.001512, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.465/2.465, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 66.36 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3057, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.9019/1.208, allocations: 294.3 MB / 1.306 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02908/1.237, allocations: 23.04 MB / 1.329 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004265/1.241, allocations: 75.62 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00506/1.246, allocations: 1.795 MB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01515/1.261, allocations: 6.126 MB / 1.336 GB, free: 3.141 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009241/1.271, allocations: 2.894 MB / 1.339 GB, free: 260 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01018/1.281, allocations: 7.296 MB / 1.346 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004221/1.285, allocations: 2.993 MB / 1.349 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006881/1.292, allocations: 2.869 MB / 1.352 GB, free: 3.043 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005068/1.297, allocations: 2.711 MB / 1.355 GB, free: 340 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0007139/1.298, allocations: 344 kB / 1.355 GB, free: 15.99 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/1.31, allocations: 5.978 MB / 1.361 GB, free: 10 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002022/1.312, allocations: 1.473 MB / 1.362 GB, free: 8.527 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002779/1.315, allocations: 1.894 MB / 1.364 GB, free: 6.625 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01307/1.328, allocations: 6.934 MB / 1.371 GB, free: 15.67 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.328, allocations: 8 kB / 1.371 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.853e-06/1.328, allocations: 0 / 1.371 GB, free: 15.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.224e-05/1.328, allocations: 0 / 1.371 GB, free: 15.66 MB / 1.076 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.009724/1.338, allocations: 4.092 MB / 1.375 GB, free: 11.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.338, allocations: 8.922 kB / 1.375 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/1.344, allocations: 0.8392 MB / 1.376 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/1.347, allocations: 1.868 MB / 1.378 GB, free: 8.723 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/1.348, allocations: 201.4 kB / 1.378 GB, free: 8.523 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/1.348, allocations: 275.9 kB / 1.378 GB, free: 8.254 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005521/1.353, allocations: 3.607 MB / 1.382 GB, free: 4.523 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/1.354, allocations: 4 kB / 1.382 GB, free: 4.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/1.354, allocations: 112 kB / 1.382 GB, free: 4.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/1.354, allocations: 153.2 kB / 1.382 GB, free: 4.258 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005243/1.359, allocations: 3.288 MB / 1.385 GB, free: 0.957 MB / 1.076 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.01637/1.376, allocations: 14.2 MB / 1.399 GB, free: 1.523 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/1.379, allocations: 2.485 MB / 1.401 GB, free: 14.97 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/1.381, allocations: 1.356 MB / 1.403 GB, free: 13.61 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/1.382, allocations: 1.378 MB / 1.404 GB, free: 11.93 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/1.384, allocations: 1.218 MB / 1.405 GB, free: 10.71 MB / 1.107 GB Notification: Performance of pre-optimization done (n=213): time 4.398e-06/1.384, allocations: 0 / 1.405 GB, free: 10.71 MB / 1.107 GB Notification: Performance of matching and sorting (n=213): time 0.005603/1.39, allocations: 3.172 MB / 1.408 GB, free: 7.531 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/1.39, allocations: 77.41 kB / 1.408 GB, free: 7.441 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/1.392, allocations: 1.449 MB / 1.41 GB, free: 5.988 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/1.392, allocations: 69.7 kB / 1.41 GB, free: 5.914 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009567/1.393, allocations: 1.119 MB / 1.411 GB, free: 4.781 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/1.394, allocations: 0.7315 MB / 1.412 GB, free: 4.039 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005363/1.394, allocations: 363.5 kB / 1.412 GB, free: 3.676 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/1.394, allocations: 309 kB / 1.412 GB, free: 3.371 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/1.396, allocations: 0.9136 MB / 1.413 GB, free: 2.453 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/1.397, allocations: 1.251 MB / 1.414 GB, free: 1.082 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/1.401, allocations: 2.325 MB / 1.417 GB, free: 14.65 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.401, allocations: 0 / 1.417 GB, free: 14.65 MB / 1.123 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004297/1.405, allocations: 2.598 MB / 1.419 GB, free: 12.04 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/1.405, allocations: 33.7 kB / 1.419 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.405, allocations: 8 kB / 1.419 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/1.405, allocations: 16 kB / 1.419 GB, free: 11.97 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/1.407, allocations: 471.3 kB / 1.42 GB, free: 11.51 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.037e-05/1.407, allocations: 28.2 kB / 1.42 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/1.409, allocations: 193.8 kB / 1.42 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/1.409, allocations: 79.98 kB / 1.42 GB, free: 11.21 MB / 1.123 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.001395/1.411, allocations: 0.6846 MB / 1.421 GB, free: 10.52 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/1.411, allocations: 213.5 kB / 1.421 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/1.415, allocations: 2.515 MB / 1.423 GB, free: 7.777 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/1.415, allocations: 20 kB / 1.423 GB, free: 7.758 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.415, allocations: 4.062 kB / 1.423 GB, free: 7.754 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003385/1.419, allocations: 2.339 MB / 1.426 GB, free: 5.348 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009525/1.428, allocations: 5.608 MB / 1.431 GB, free: 15.62 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.428, allocations: 4 kB / 1.431 GB, free: 15.62 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/1.43, allocations: 471.7 kB / 1.432 GB, free: 15.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/1.43, allocations: 8 kB / 1.432 GB, free: 15.15 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/1.431, allocations: 55.98 kB / 1.432 GB, free: 15.1 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/1.431, allocations: 15.94 kB / 1.432 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.431, allocations: 11.92 kB / 1.432 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/1.436, allocations: 3.798 MB / 1.435 GB, free: 11.23 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.438, allocations: 0.541 MB / 1.436 GB, free: 10.66 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/1.438, allocations: 43.98 kB / 1.436 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.439, allocations: 69.19 kB / 1.436 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/1.44, allocations: 149.7 kB / 1.436 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/1.44, allocations: 71.97 kB / 1.436 GB, free: 10.34 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001354/1.441, allocations: 0.9866 MB / 1.437 GB, free: 9.355 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.7e-07/1.441, allocations: 0 / 1.437 GB, free: 9.355 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002252/1.443, allocations: 0.9351 MB / 1.438 GB, free: 8.418 MB / 1.139 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.0007654/1.444, allocations: 383.6 kB / 1.439 GB, free: 8.043 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003649/1.448, allocations: 2.344 MB / 1.441 GB, free: 5.688 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.448, allocations: 5.625 kB / 1.441 GB, free: 5.684 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/1.45, allocations: 1.226 MB / 1.442 GB, free: 4.457 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004816/1.454, allocations: 1.287 MB / 1.443 GB, free: 3.191 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008659/1.463, allocations: 5.775 MB / 1.449 GB, free: 13.35 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/1.465, allocations: 1.968 MB / 1.451 GB, free: 11.34 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002445/1.467, allocations: 0.7288 MB / 1.452 GB, free: 10.61 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006138/1.468, allocations: 195.4 kB / 1.452 GB, free: 10.43 MB / 1.154 GB Notification: Performance of SimCode: time 1.282e-06/1.468, allocations: 0 / 1.452 GB, free: 10.43 MB / 1.154 GB Notification: Performance of Templates: time 0.1016/1.569, allocations: 47.31 MB / 1.498 GB, free: 11.73 MB / 1.201 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 -s gbode -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