Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 393.5 MB / 408.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001193, allocations: 175.1 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.829/1.829, allocations: 223.1 MB / 0.7992 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.001181, allocations: 99.28 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005398/0.00054, allocations: 13.02 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3836, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.046/6.43, allocations: 1.983 GB / 3.212 GB, free: 437.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/6.43, allocations: 97.53 kB / 3.213 GB, free: 437.3 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 8.25/14.68, allocations: 2.138 GB / 5.35 GB, free: 96.02 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.997e-06/14.68, allocations: 0 / 5.35 GB, free: 96.02 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0004506/14.68, allocations: 71.98 kB / 5.35 GB, free: 95.95 MB / 1.214 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.0198/14.7, allocations: 3.959 MB / 5.354 GB, free: 91.95 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/14.7, allocations: 12.03 kB / 5.354 GB, free: 91.94 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007886/14.71, allocations: 0.8352 MB / 5.355 GB, free: 91.1 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009074/14.72, allocations: 2.196 MB / 5.357 GB, free: 88.86 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/14.72, allocations: 209.5 kB / 5.357 GB, free: 88.65 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/14.72, allocations: 287.8 kB / 5.358 GB, free: 88.37 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/14.73, allocations: 3.499 MB / 5.361 GB, free: 84.73 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/14.73, allocations: 11.94 kB / 5.361 GB, free: 84.72 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/14.73, allocations: 116 kB / 5.361 GB, free: 84.61 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/14.73, allocations: 125.3 kB / 5.361 GB, free: 84.48 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00792/14.74, allocations: 3.155 MB / 5.364 GB, free: 81.31 MB / 1.214 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.02495/14.77, allocations: 14.47 MB / 5.379 GB, free: 65.64 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00366/14.77, allocations: 2.309 MB / 5.381 GB, free: 63.27 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/14.77, allocations: 1.394 MB / 5.382 GB, free: 61.58 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002368/14.78, allocations: 1.206 MB / 5.383 GB, free: 60.36 MB / 1.214 GB Notification: Performance of pre-optimization done (n=213): time 6.743e-06/14.78, allocations: 0 / 5.383 GB, free: 60.36 MB / 1.214 GB Notification: Performance of matching and sorting (n=213): time 0.006495/14.78, allocations: 3.153 MB / 5.386 GB, free: 57.21 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/14.78, allocations: 81.41 kB / 5.387 GB, free: 57.12 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/14.78, allocations: 1.257 MB / 5.388 GB, free: 55.86 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0003578/14.79, allocations: 81.52 kB / 5.388 GB, free: 55.77 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/14.79, allocations: 1.115 MB / 5.389 GB, free: 54.64 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007544/14.79, allocations: 0.7316 MB / 5.39 GB, free: 53.9 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/14.79, allocations: 40 kB / 5.39 GB, free: 53.86 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001515/14.79, allocations: 385.9 kB / 5.39 GB, free: 53.48 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/14.79, allocations: 0.9019 MB / 5.391 GB, free: 52.57 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/14.79, allocations: 1.31 MB / 5.392 GB, free: 51.1 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/14.79, allocations: 1.114 MB / 5.393 GB, free: 49.98 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/14.79, allocations: 4 kB / 5.393 GB, free: 49.98 MB / 1.214 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004639/14.8, allocations: 2.586 MB / 5.396 GB, free: 47.38 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/14.8, allocations: 38.62 kB / 5.396 GB, free: 47.34 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/14.8, allocations: 8 kB / 5.396 GB, free: 47.33 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.381e-05/14.8, allocations: 20.48 kB / 5.396 GB, free: 47.31 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/14.8, allocations: 455.3 kB / 5.396 GB, free: 46.86 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-05/14.8, allocations: 23.92 kB / 5.396 GB, free: 46.84 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/14.8, allocations: 405.7 kB / 5.397 GB, free: 46.44 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/14.8, allocations: 79.98 kB / 5.397 GB, free: 46.36 MB / 1.214 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002389/14.81, allocations: 0.6807 MB / 5.397 GB, free: 45.67 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/14.81, allocations: 213.5 kB / 5.398 GB, free: 45.46 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005174/14.81, allocations: 2.522 MB / 5.4 GB, free: 42.92 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/14.81, allocations: 23.95 kB / 5.4 GB, free: 42.9 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/14.81, allocations: 0 / 5.4 GB, free: 42.9 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003382/14.82, allocations: 2.318 MB / 5.402 GB, free: 40.51 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/14.83, allocations: 5.587 MB / 5.408 GB, free: 34.81 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/14.83, allocations: 7.984 kB / 5.408 GB, free: 34.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/14.83, allocations: 459.4 kB / 5.408 GB, free: 34.36 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-05/14.83, allocations: 12.16 kB / 5.408 GB, free: 34.34 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/14.83, allocations: 55.97 kB / 5.408 GB, free: 34.29 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-05/14.83, allocations: 15.94 kB / 5.408 GB, free: 34.27 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/14.83, allocations: 0 / 5.408 GB, free: 34.27 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006678/14.84, allocations: 3.931 MB / 5.412 GB, free: 30.23 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002407/14.84, allocations: 0.5371 MB / 5.413 GB, free: 29.68 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008932/14.84, allocations: 47.98 kB / 5.413 GB, free: 29.63 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003352/14.84, allocations: 251.4 kB / 5.413 GB, free: 29.38 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00032/14.84, allocations: 137.7 kB / 5.413 GB, free: 29.25 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/14.85, allocations: 71.97 kB / 5.413 GB, free: 29.18 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.002361/14.85, allocations: 0.9788 MB / 5.414 GB, free: 28.21 MB / 1.214 GB Notification: Performance of sort global known variables: time 4.61e-07/14.85, allocations: 4 kB / 5.414 GB, free: 28.2 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.006508/14.85, allocations: 1.373 MB / 5.416 GB, free: 26.83 MB / 1.214 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008809/14.86, allocations: 4.845 MB / 5.42 GB, free: 21.62 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.005704/14.87, allocations: 2.313 MB / 5.423 GB, free: 19.3 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/14.87, allocations: 4 kB / 5.423 GB, free: 19.29 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002594/14.87, allocations: 1.196 MB / 5.424 GB, free: 18.1 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007342/14.88, allocations: 1.202 MB / 5.425 GB, free: 16.92 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/14.89, allocations: 7.032 MB / 5.432 GB, free: 9.902 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/14.9, allocations: 2.026 MB / 5.434 GB, free: 7.84 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.004606/14.9, allocations: 0.7272 MB / 5.434 GB, free: 7.133 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/14.9, allocations: 207.3 kB / 5.435 GB, free: 6.93 MB / 1.214 GB Notification: Performance of SimCode: time 1.873e-06/14.9, allocations: 0 / 5.435 GB, free: 6.93 MB / 1.214 GB Notification: Performance of Templates: time 1.138/16.04, allocations: 90.76 MB / 5.523 GB, free: 155.5 MB / 1.245 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches