Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 78.02 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 163.6 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.776/2.776, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 71.89 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8871/0.8892, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.318/1.207, allocations: 262.2 MB / 1.41 GB, free: 2.203 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03254/1.24, allocations: 21.35 MB / 1.431 GB, free: 12.8 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002941/1.243, allocations: 99.25 kB / 1.431 GB, free: 12.7 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.004655/1.247, allocations: 1.705 MB / 1.433 GB, free: 10.99 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01611/1.263, allocations: 6.387 MB / 1.439 GB, free: 4.574 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008243/1.272, allocations: 2.961 MB / 1.442 GB, free: 1.613 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01036/1.282, allocations: 7.367 MB / 1.449 GB, free: 10.23 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003772/1.286, allocations: 2.153 MB / 1.451 GB, free: 8.016 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007791/1.294, allocations: 3.266 MB / 1.454 GB, free: 4.762 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005569/1.299, allocations: 2.716 MB / 1.457 GB, free: 2.047 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0009038/1.3, allocations: 344 kB / 1.457 GB, free: 1.711 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01133/1.311, allocations: 4.904 MB / 1.462 GB, free: 12.79 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.002464/1.314, allocations: 1.496 MB / 1.463 GB, free: 11.29 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.003336/1.317, allocations: 1.603 MB / 1.465 GB, free: 9.684 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/1.331, allocations: 6.783 MB / 1.472 GB, free: 2.879 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.331, allocations: 0 / 1.472 GB, free: 2.879 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.783e-06/1.331, allocations: 0 / 1.472 GB, free: 2.879 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001364/1.331, allocations: 0 / 1.472 GB, free: 2.879 MB / 1.311 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.01131/1.343, allocations: 4.123 MB / 1.476 GB, free: 14.7 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.343, allocations: 8.031 kB / 1.476 GB, free: 14.69 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005916/1.349, allocations: 0.8682 MB / 1.477 GB, free: 13.82 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004293/1.353, allocations: 1.786 MB / 1.478 GB, free: 11.98 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/1.353, allocations: 213.4 kB / 1.478 GB, free: 11.77 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005622/1.354, allocations: 272 kB / 1.479 GB, free: 11.5 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007123/1.361, allocations: 3.935 MB / 1.483 GB, free: 7.363 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.245e-05/1.361, allocations: 11.89 kB / 1.483 GB, free: 7.352 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002804/1.361, allocations: 116 kB / 1.483 GB, free: 7.238 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/1.361, allocations: 149.2 kB / 1.483 GB, free: 7.09 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006451/1.368, allocations: 3.276 MB / 1.486 GB, free: 3.801 MB / 1.326 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.01621/1.384, allocations: 8.621 MB / 1.494 GB, free: 11.02 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003914/1.388, allocations: 2.055 MB / 1.496 GB, free: 8.965 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/1.39, allocations: 1.243 MB / 1.498 GB, free: 7.727 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000769/1.391, allocations: 181.9 kB / 1.498 GB, free: 7.547 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002399/1.393, allocations: 1.556 MB / 1.499 GB, free: 5.898 MB / 1.342 GB Notification: Performance of pre-optimization done (n=213): time 4.488e-06/1.393, allocations: 0 / 1.499 GB, free: 5.898 MB / 1.342 GB Notification: Performance of matching and sorting (n=213): time 0.006501/1.4, allocations: 3.153 MB / 1.502 GB, free: 2.742 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/1.4, allocations: 77.41 kB / 1.503 GB, free: 2.652 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/1.402, allocations: 1.247 MB / 1.504 GB, free: 1.395 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0001855/1.402, allocations: 61.7 kB / 1.504 GB, free: 1.328 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/1.403, allocations: 1.148 MB / 1.505 GB, free: 176 kB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008643/1.404, allocations: 0.7669 MB / 1.506 GB, free: 15.39 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006332/1.405, allocations: 359.5 kB / 1.506 GB, free: 15.04 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.405, allocations: 305.1 kB / 1.506 GB, free: 14.73 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/1.406, allocations: 0.9426 MB / 1.507 GB, free: 13.78 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/1.409, allocations: 1.413 MB / 1.509 GB, free: 12.21 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/1.413, allocations: 2.321 MB / 1.511 GB, free: 9.785 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/1.413, allocations: 0 / 1.511 GB, free: 9.785 MB / 1.357 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005045/1.418, allocations: 2.62 MB / 1.513 GB, free: 7.145 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/1.418, allocations: 37.69 kB / 1.513 GB, free: 7.102 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.418, allocations: 8 kB / 1.513 GB, free: 7.094 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/1.418, allocations: 16.06 kB / 1.514 GB, free: 7.078 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/1.42, allocations: 479.8 kB / 1.514 GB, free: 6.609 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.067e-05/1.42, allocations: 16 kB / 1.514 GB, free: 6.594 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/1.422, allocations: 174.7 kB / 1.514 GB, free: 6.422 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/1.422, allocations: 79.98 kB / 1.514 GB, free: 6.344 MB / 1.357 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.001373/1.423, allocations: 0.6814 MB / 1.515 GB, free: 5.652 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004924/1.424, allocations: 198.8 kB / 1.515 GB, free: 5.457 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004833/1.429, allocations: 2.513 MB / 1.518 GB, free: 2.922 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/1.429, allocations: 20 kB / 1.518 GB, free: 2.902 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.429, allocations: 3.984 kB / 1.518 GB, free: 2.898 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003937/1.433, allocations: 2.331 MB / 1.52 GB, free: 0.5039 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009732/1.442, allocations: 4.829 MB / 1.525 GB, free: 11.6 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.442, allocations: 4 kB / 1.525 GB, free: 11.59 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.445, allocations: 475.3 kB / 1.525 GB, free: 11.13 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.967e-05/1.445, allocations: 20.09 kB / 1.525 GB, free: 11.11 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/1.445, allocations: 51.98 kB / 1.525 GB, free: 11.06 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/1.445, allocations: 12 kB / 1.525 GB, free: 11.05 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.445, allocations: 4 kB / 1.525 GB, free: 11.04 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006728/1.452, allocations: 3.794 MB / 1.529 GB, free: 7.203 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.453, allocations: 458.2 kB / 1.529 GB, free: 6.754 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/1.454, allocations: 51.98 kB / 1.529 GB, free: 6.703 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.455, allocations: 55.97 kB / 1.529 GB, free: 6.648 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/1.455, allocations: 165.6 kB / 1.529 GB, free: 6.484 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.455, allocations: 63.98 kB / 1.53 GB, free: 6.422 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.00134/1.457, allocations: 0.8371 MB / 1.53 GB, free: 5.586 MB / 1.373 GB Notification: Performance of sort global known variables: time 9.1e-08/1.457, allocations: 0 / 1.53 GB, free: 5.586 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.002441/1.459, allocations: 0.955 MB / 1.531 GB, free: 4.629 MB / 1.373 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.0006802/1.46, allocations: 363.8 kB / 1.532 GB, free: 4.266 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.004216/1.464, allocations: 2.26 MB / 1.534 GB, free: 1.988 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.464, allocations: 4 kB / 1.534 GB, free: 1.984 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.002059/1.466, allocations: 1.145 MB / 1.535 GB, free: 0.8438 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005496/1.472, allocations: 1.135 MB / 1.536 GB, free: 15.73 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.482, allocations: 5.825 MB / 1.542 GB, free: 9.84 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001724/1.484, allocations: 1.414 MB / 1.543 GB, free: 8.383 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.002514/1.486, allocations: 0.6841 MB / 1.544 GB, free: 7.695 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000685/1.487, allocations: 192.4 kB / 1.544 GB, free: 7.504 MB / 1.389 GB Notification: Performance of SimCode: time 8.71e-07/1.487, allocations: 0 / 1.544 GB, free: 7.504 MB / 1.389 GB Notification: Performance of Templates: time 0.07833/1.565, allocations: 44.46 MB / 1.587 GB, free: 12 MB / 1.436 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.958376536029391]