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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008852/0.0008851, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007515/0.007515, allocations: 169.9 kB / 16.26 MB, free: 6.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.615/1.615, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.047/3.047, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.0005091, allocations: 10 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4567, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.4/1.856, allocations: 288.1 MB / 1.34 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03717/1.893, allocations: 22.98 MB / 1.362 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006204/1.9, allocations: 63.56 kB / 1.363 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006218/1.906, allocations: 1.552 MB / 1.364 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02277/1.929, allocations: 5.77 MB / 1.37 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01457/1.943, allocations: 2.634 MB / 1.372 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02362/1.967, allocations: 10.74 MB / 1.383 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006036/1.973, allocations: 2.437 MB / 1.385 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/1.983, allocations: 2.432 MB / 1.387 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007238/1.991, allocations: 2.699 MB / 1.39 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001413/1.992, allocations: 166.7 kB / 1.39 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01995/2.012, allocations: 6.868 MB / 1.397 GB, free: 9.805 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004722/2.017, allocations: 1.276 MB / 1.398 GB, free: 9.016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.008213/2.025, allocations: 1.708 MB / 1.4 GB, free: 8.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02671/2.052, allocations: 7.083 MB / 1.407 GB, free: 4.012 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/2.052, allocations: 0 / 1.407 GB, free: 4.012 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.098e-06/2.052, allocations: 0 / 1.407 GB, free: 4.012 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002891/2.052, allocations: 0 / 1.407 GB, free: 4.012 MB / 1.014 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.01352/2.066, allocations: 3.484 MB / 1.41 GB, free: 1.621 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/2.066, allocations: 13.91 kB / 1.41 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006677/2.073, allocations: 0.8361 MB / 1.411 GB, free: 1.234 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/2.078, allocations: 1.793 MB / 1.413 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/2.078, allocations: 210.4 kB / 1.413 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/2.079, allocations: 279.1 kB / 1.413 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009397/2.089, allocations: 3.606 MB / 1.417 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/2.089, allocations: 8 kB / 1.417 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005763/2.09, allocations: 118.2 kB / 1.417 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002015/2.09, allocations: 145.2 kB / 1.417 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007014/2.097, allocations: 3.3 MB / 1.42 GB, free: 9.77 MB / 1.029 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.02216/2.119, allocations: 14.16 MB / 1.434 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/2.123, allocations: 2.494 MB / 1.437 GB, free: 7.965 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/2.126, allocations: 1.364 MB / 1.438 GB, free: 6.598 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/2.127, allocations: 1.381 MB / 1.439 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002191/2.129, allocations: 1.23 MB / 1.44 GB, free: 3.691 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 3.957e-06/2.129, allocations: 0 / 1.44 GB, free: 3.691 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.006397/2.136, allocations: 3.191 MB / 1.444 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/2.136, allocations: 77.34 kB / 1.444 GB, free: 420 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/2.139, allocations: 1.456 MB / 1.445 GB, free: 14.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/2.139, allocations: 73.7 kB / 1.445 GB, free: 14.87 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001599/2.141, allocations: 1.115 MB / 1.446 GB, free: 13.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/2.142, allocations: 0.7329 MB / 1.447 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/2.143, allocations: 165.6 kB / 1.447 GB, free: 12.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001455/2.143, allocations: 301.1 kB / 1.447 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/2.145, allocations: 0.9136 MB / 1.448 GB, free: 11.63 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/2.147, allocations: 1.267 MB / 1.449 GB, free: 10.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/2.151, allocations: 2.333 MB / 1.452 GB, free: 7.801 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/2.151, allocations: 4 kB / 1.452 GB, free: 7.797 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00541/2.157, allocations: 2.617 MB / 1.454 GB, free: 5.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/2.157, allocations: 39.58 kB / 1.454 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/2.157, allocations: 4 kB / 1.454 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.716e-05/2.157, allocations: 20 kB / 1.454 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/2.159, allocations: 479.9 kB / 1.455 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.354e-05/2.159, allocations: 19.94 kB / 1.455 GB, free: 4.609 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/2.162, allocations: 405.7 kB / 1.455 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/2.163, allocations: 75.98 kB / 1.455 GB, free: 4.137 MB / 1.061 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.001718/2.164, allocations: 0.6845 MB / 1.456 GB, free: 3.441 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007646/2.165, allocations: 213.5 kB / 1.456 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005045/2.17, allocations: 2.538 MB / 1.459 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/2.17, allocations: 20 kB / 1.459 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/2.17, allocations: 3.938 kB / 1.459 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003831/2.174, allocations: 2.347 MB / 1.461 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/2.187, allocations: 5.614 MB / 1.466 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/2.187, allocations: 4 kB / 1.466 GB, free: 8.562 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/2.189, allocations: 491.5 kB / 1.467 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.955e-05/2.19, allocations: 8 kB / 1.467 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/2.19, allocations: 59.97 kB / 1.467 GB, free: 8.016 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.99e-05/2.19, allocations: 8 kB / 1.467 GB, free: 8.008 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/2.19, allocations: 7.938 kB / 1.467 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00761/2.197, allocations: 3.809 MB / 1.471 GB, free: 4.148 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/2.2, allocations: 0.541 MB / 1.471 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007968/2.201, allocations: 47.98 kB / 1.471 GB, free: 3.539 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003297/2.204, allocations: 252.2 kB / 1.472 GB, free: 3.293 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004278/2.204, allocations: 149.8 kB / 1.472 GB, free: 3.145 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/2.205, allocations: 71.97 kB / 1.472 GB, free: 3.074 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002278/2.207, allocations: 0.9905 MB / 1.473 GB, free: 2.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.41e-07/2.207, allocations: 0 / 1.473 GB, free: 2.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003841/2.211, allocations: 0.9389 MB / 1.474 GB, free: 1.148 MB / 1.076 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.001064/2.212, allocations: 391 kB / 1.474 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004566/2.216, allocations: 2.337 MB / 1.476 GB, free: 14.44 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/2.216, allocations: 4 kB / 1.476 GB, free: 14.43 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/2.219, allocations: 1.234 MB / 1.478 GB, free: 13.2 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008248/2.227, allocations: 1.224 MB / 1.479 GB, free: 11.99 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/2.239, allocations: 7.275 MB / 1.486 GB, free: 4.648 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/2.242, allocations: 1.975 MB / 1.488 GB, free: 2.637 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003501/2.245, allocations: 0.7212 MB / 1.488 GB, free: 1.91 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000918/2.246, allocations: 199.4 kB / 1.489 GB, free: 1.715 MB / 1.092 GB Notification: Performance of SimCode: time 2.204e-06/2.246, allocations: 0 / 1.489 GB, free: 1.715 MB / 1.092 GB Notification: Performance of Templates: time 0.08782/2.334, allocations: 45.09 MB / 1.533 GB, free: 5.152 MB / 1.139 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches