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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 116.4 kB / 16.37 MB, free: 6 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.001697/0.001697, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.452/2.452, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 55.66 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2875, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8693/1.157, allocations: 294.3 MB / 1.314 GB, free: 6.836 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02896/1.186, allocations: 23.06 MB / 1.337 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/1.189, allocations: 79.62 kB / 1.337 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004907/1.194, allocations: 1.787 MB / 1.338 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01466/1.209, allocations: 6.124 MB / 1.344 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00768/1.217, allocations: 2.895 MB / 1.347 GB, free: 4.793 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00982/1.227, allocations: 7.309 MB / 1.354 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005137/1.232, allocations: 2.978 MB / 1.357 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007057/1.239, allocations: 2.879 MB / 1.36 GB, free: 7.582 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005039/1.244, allocations: 2.71 MB / 1.363 GB, free: 4.871 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001267/1.245, allocations: 340 kB / 1.363 GB, free: 4.539 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01482/1.26, allocations: 5.982 MB / 1.369 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002663/1.263, allocations: 1.465 MB / 1.37 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003466/1.266, allocations: 1.902 MB / 1.372 GB, free: 11.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01388/1.28, allocations: 6.934 MB / 1.379 GB, free: 4.211 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.28, allocations: 0 / 1.379 GB, free: 4.211 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.933e-06/1.28, allocations: 0 / 1.379 GB, free: 4.211 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001039/1.28, allocations: 0 / 1.379 GB, free: 4.211 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.01025/1.291, allocations: 4.096 MB / 1.383 GB, free: 44 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.291, allocations: 8.031 kB / 1.383 GB, free: 36 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005573/1.296, allocations: 0.8432 MB / 1.384 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/1.3, allocations: 1.861 MB / 1.386 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/1.3, allocations: 205.4 kB / 1.386 GB, free: 13.06 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/1.301, allocations: 283.9 kB / 1.386 GB, free: 12.79 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005788/1.307, allocations: 3.593 MB / 1.39 GB, free: 9.066 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.622e-05/1.307, allocations: 0 / 1.39 GB, free: 9.066 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/1.307, allocations: 124 kB / 1.39 GB, free: 8.945 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/1.307, allocations: 145.2 kB / 1.39 GB, free: 8.801 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005372/1.312, allocations: 3.288 MB / 1.393 GB, free: 5.5 MB / 1.092 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.01615/1.329, allocations: 14.2 MB / 1.407 GB, free: 6.066 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/1.332, allocations: 2.481 MB / 1.409 GB, free: 3.512 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/1.334, allocations: 1.36 MB / 1.411 GB, free: 2.152 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/1.335, allocations: 1.375 MB / 1.412 GB, free: 492 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/1.337, allocations: 1.222 MB / 1.413 GB, free: 15.25 MB / 1.123 GB Notification: Performance of pre-optimization done (n=213): time 4.779e-06/1.337, allocations: 0 / 1.413 GB, free: 15.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=213): time 0.005616/1.343, allocations: 3.168 MB / 1.416 GB, free: 12.07 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/1.343, allocations: 77.41 kB / 1.416 GB, free: 11.98 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/1.345, allocations: 1.452 MB / 1.418 GB, free: 10.53 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/1.345, allocations: 65.7 kB / 1.418 GB, free: 10.46 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000855/1.346, allocations: 1.123 MB / 1.419 GB, free: 9.32 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006112/1.347, allocations: 0.7393 MB / 1.42 GB, free: 8.57 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005367/1.347, allocations: 355.5 kB / 1.42 GB, free: 8.215 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/1.347, allocations: 309.1 kB / 1.42 GB, free: 7.91 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.349, allocations: 0.9136 MB / 1.421 GB, free: 6.992 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/1.35, allocations: 1.251 MB / 1.422 GB, free: 5.621 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/1.354, allocations: 2.321 MB / 1.425 GB, free: 3.195 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/1.354, allocations: 4 kB / 1.425 GB, free: 3.191 MB / 1.123 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004351/1.358, allocations: 2.597 MB / 1.427 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/1.358, allocations: 33.7 kB / 1.427 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.358, allocations: 8 kB / 1.427 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/1.358, allocations: 16 kB / 1.427 GB, free: 0.5156 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/1.36, allocations: 471.8 kB / 1.428 GB, free: 56 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/1.36, allocations: 19.94 kB / 1.428 GB, free: 36 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.362, allocations: 197.8 kB / 1.428 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/1.362, allocations: 75.98 kB / 1.428 GB, free: 15.77 MB / 1.139 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.001194/1.363, allocations: 0.6846 MB / 1.429 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/1.364, allocations: 217.5 kB / 1.429 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/1.368, allocations: 2.515 MB / 1.431 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.368, allocations: 23.98 kB / 1.431 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.368, allocations: 0 / 1.431 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003293/1.372, allocations: 2.339 MB / 1.434 GB, free: 9.895 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008876/1.38, allocations: 5.608 MB / 1.439 GB, free: 4.168 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.38, allocations: 0 / 1.439 GB, free: 4.168 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/1.383, allocations: 475.7 kB / 1.44 GB, free: 3.703 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/1.383, allocations: 12 kB / 1.44 GB, free: 3.691 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/1.383, allocations: 55.98 kB / 1.44 GB, free: 3.637 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/1.383, allocations: 8 kB / 1.44 GB, free: 3.629 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.383, allocations: 7.938 kB / 1.44 GB, free: 3.621 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005558/1.388, allocations: 3.802 MB / 1.443 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.39, allocations: 0.5448 MB / 1.444 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/1.39, allocations: 44 kB / 1.444 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.392, allocations: 64.02 kB / 1.444 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/1.392, allocations: 153.7 kB / 1.444 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.392, allocations: 71.92 kB / 1.444 GB, free: 14.88 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001273/1.393, allocations: 0.9866 MB / 1.445 GB, free: 13.9 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/1.393, allocations: 0 / 1.445 GB, free: 13.9 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001974/1.395, allocations: 0.9351 MB / 1.446 GB, free: 12.96 MB / 1.154 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.0007234/1.396, allocations: 383.6 kB / 1.446 GB, free: 12.59 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00364/1.4, allocations: 2.341 MB / 1.449 GB, free: 10.23 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.4, allocations: 4 kB / 1.449 GB, free: 10.23 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.402, allocations: 1.226 MB / 1.45 GB, free: 9.008 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004997/1.407, allocations: 1.28 MB / 1.451 GB, free: 7.75 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008909/1.415, allocations: 5.785 MB / 1.457 GB, free: 1.906 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/1.417, allocations: 1.971 MB / 1.459 GB, free: 15.9 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002535/1.42, allocations: 0.721 MB / 1.459 GB, free: 15.18 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006317/1.42, allocations: 195.4 kB / 1.46 GB, free: 14.98 MB / 1.17 GB Notification: Performance of SimCode: time 1.223e-06/1.42, allocations: 4 kB / 1.46 GB, free: 14.98 MB / 1.17 GB Notification: Performance of Templates: time 0.07353/1.494, allocations: 47.32 MB / 1.506 GB, free: 208 kB / 1.201 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches