Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00115/0.00115, allocations: 119.1 kB / 16.37 MB, free: 6.004 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.001047/0.001047, allocations: 192.8 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.323/1.323, 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 9.1.2-maint.9.1.x/package.mo): time 2.137/2.137, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.25 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3045, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8375/1.142, allocations: 294.3 MB / 1.238 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03018/1.172, allocations: 23.05 MB / 1.261 GB, free: 184 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004115/1.176, allocations: 78.44 kB / 1.261 GB, free: 160 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005017/1.181, allocations: 1.794 MB / 1.263 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0163/1.198, allocations: 6.123 MB / 1.269 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00785/1.206, allocations: 2.892 MB / 1.272 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01013/1.216, allocations: 7.308 MB / 1.279 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004153/1.22, allocations: 2.967 MB / 1.282 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006394/1.226, allocations: 2.88 MB / 1.284 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004537/1.231, allocations: 2.713 MB / 1.287 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006646/1.232, allocations: 340 kB / 1.287 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/1.245, allocations: 5.982 MB / 1.293 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002175/1.247, allocations: 1.465 MB / 1.295 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00315/1.251, allocations: 1.906 MB / 1.297 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01498/1.266, allocations: 6.931 MB / 1.303 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.266, allocations: 0 / 1.303 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/1.266, allocations: 3.938 kB / 1.303 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.873e-05/1.266, allocations: 0 / 1.303 GB, free: 7.922 MB / 0.9669 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.01009/1.276, allocations: 4.092 MB / 1.307 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/1.276, allocations: 8.031 kB / 1.307 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005452/1.281, allocations: 0.8391 MB / 1.308 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003889/1.285, allocations: 1.861 MB / 1.31 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/1.285, allocations: 205.4 kB / 1.31 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004413/1.286, allocations: 279.9 kB / 1.31 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006005/1.292, allocations: 3.597 MB / 1.314 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-05/1.292, allocations: 8 kB / 1.314 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002531/1.292, allocations: 123.9 kB / 1.314 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/1.292, allocations: 149.2 kB / 1.314 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005528/1.298, allocations: 3.284 MB / 1.317 GB, free: 9.211 MB / 0.9825 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.01745/1.315, allocations: 14.21 MB / 1.331 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/1.319, allocations: 2.486 MB / 1.334 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002035/1.321, allocations: 1.352 MB / 1.335 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/1.323, allocations: 1.378 MB / 1.336 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002059/1.325, allocations: 1.218 MB / 1.338 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 3.627e-06/1.325, allocations: 0 / 1.338 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.005865/1.331, allocations: 3.175 MB / 1.341 GB, free: 15.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/1.331, allocations: 77.41 kB / 1.341 GB, free: 15.69 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/1.333, allocations: 1.452 MB / 1.342 GB, free: 14.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/1.333, allocations: 65.7 kB / 1.342 GB, free: 14.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/1.334, allocations: 1.119 MB / 1.343 GB, free: 13.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007859/1.335, allocations: 0.7355 MB / 1.344 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005896/1.335, allocations: 363.4 kB / 1.344 GB, free: 11.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.336, allocations: 309.1 kB / 1.345 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/1.337, allocations: 0.9097 MB / 1.346 GB, free: 10.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/1.339, allocations: 1.255 MB / 1.347 GB, free: 9.328 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00344/1.343, allocations: 2.317 MB / 1.349 GB, free: 6.906 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/1.343, allocations: 4 kB / 1.349 GB, free: 6.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004229/1.347, allocations: 2.597 MB / 1.352 GB, free: 4.289 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/1.347, allocations: 35.58 kB / 1.352 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.347, allocations: 11.94 kB / 1.352 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/1.347, allocations: 16 kB / 1.352 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/1.349, allocations: 467.9 kB / 1.352 GB, free: 3.766 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.572e-05/1.349, allocations: 19.94 kB / 1.352 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/1.351, allocations: 201.8 kB / 1.352 GB, free: 3.547 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/1.351, allocations: 75.98 kB / 1.352 GB, free: 3.473 MB / 1.014 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.001187/1.352, allocations: 0.6853 MB / 1.353 GB, free: 2.777 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/1.353, allocations: 213.5 kB / 1.353 GB, free: 2.566 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004184/1.357, allocations: 2.526 MB / 1.356 GB, free: 20 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/1.357, allocations: 20 kB / 1.356 GB, free: 0 / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.357, allocations: 4.047 kB / 1.356 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00339/1.36, allocations: 2.335 MB / 1.358 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008879/1.369, allocations: 5.604 MB / 1.364 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.369, allocations: 0 / 1.364 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.371, allocations: 475.7 kB / 1.364 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/1.371, allocations: 19.92 kB / 1.364 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/1.371, allocations: 55.98 kB / 1.364 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/1.371, allocations: 8 kB / 1.364 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.371, allocations: 12 kB / 1.364 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005725/1.377, allocations: 3.798 MB / 1.368 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.378, allocations: 0.541 MB / 1.368 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/1.379, allocations: 44 kB / 1.368 GB, free: 2.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.38, allocations: 59.97 kB / 1.368 GB, free: 2.809 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/1.38, allocations: 153.7 kB / 1.369 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.381, allocations: 67.98 kB / 1.369 GB, free: 2.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001325/1.382, allocations: 0.9866 MB / 1.37 GB, free: 1.609 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.5e-07/1.382, allocations: 0 / 1.37 GB, free: 1.609 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002081/1.384, allocations: 0.935 MB / 1.37 GB, free: 0.6719 MB / 1.029 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.0007406/1.385, allocations: 372.7 kB / 1.371 GB, free: 308 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003762/1.389, allocations: 2.349 MB / 1.373 GB, free: 13.94 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.389, allocations: 4 kB / 1.373 GB, free: 13.94 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/1.39, allocations: 1.226 MB / 1.374 GB, free: 12.71 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004778/1.395, allocations: 1.288 MB / 1.376 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008916/1.404, allocations: 5.766 MB / 1.381 GB, free: 5.621 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/1.406, allocations: 1.964 MB / 1.383 GB, free: 3.621 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002678/1.409, allocations: 0.7249 MB / 1.384 GB, free: 2.895 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006462/1.409, allocations: 199.4 kB / 1.384 GB, free: 2.699 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/1.409, allocations: 0 / 1.384 GB, free: 2.699 MB / 1.045 GB Notification: Performance of Templates: time 0.07951/1.489, allocations: 47.32 MB / 1.43 GB, free: 4.004 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches