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.001498/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001987/0.001987, allocations: 188.2 kB / 16.13 MB, free: 6.645 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.88 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3071, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.9298/1.237, allocations: 292.1 MB / 1.337 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02906/1.266, allocations: 23.25 MB / 1.36 GB, free: 320 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005254/1.271, allocations: 66.56 kB / 1.36 GB, free: 320 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00555/1.277, allocations: 1.559 MB / 1.362 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01728/1.294, allocations: 5.776 MB / 1.367 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008382/1.303, allocations: 2.638 MB / 1.37 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01211/1.315, allocations: 10.73 MB / 1.38 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004918/1.32, allocations: 2.527 MB / 1.383 GB, free: 13.65 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008407/1.328, allocations: 2.527 MB / 1.385 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005914/1.334, allocations: 2.823 MB / 1.388 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001262/1.335, allocations: 204.3 kB / 1.388 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01765/1.353, allocations: 6.902 MB / 1.395 GB, free: 8.227 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003756/1.357, allocations: 1.336 MB / 1.396 GB, free: 7.387 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005299/1.362, allocations: 1.755 MB / 1.398 GB, free: 6.355 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0165/1.379, allocations: 7.172 MB / 1.405 GB, free: 2.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.379, allocations: 0 / 1.405 GB, free: 2.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.864e-06/1.379, allocations: 0 / 1.405 GB, free: 2.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002104/1.379, allocations: 4 kB / 1.405 GB, free: 2.266 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.01595/1.395, allocations: 4.101 MB / 1.409 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/1.395, allocations: 12.03 kB / 1.409 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00725/1.402, allocations: 0.8417 MB / 1.41 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005363/1.408, allocations: 1.785 MB / 1.412 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/1.408, allocations: 212.8 kB / 1.412 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/1.409, allocations: 283 kB / 1.412 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009516/1.418, allocations: 3.6 MB / 1.416 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-05/1.419, allocations: 3.938 kB / 1.416 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/1.419, allocations: 115.1 kB / 1.416 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/1.419, allocations: 145.3 kB / 1.416 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006329/1.425, allocations: 3.288 MB / 1.419 GB, free: 5.051 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.01937/1.445, allocations: 14.14 MB / 1.433 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003935/1.449, allocations: 2.48 MB / 1.435 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/1.451, allocations: 1.364 MB / 1.437 GB, free: 1.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/1.452, allocations: 1.375 MB / 1.438 GB, free: 256 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002252/1.455, allocations: 1.226 MB / 1.439 GB, free: 15.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=213): time 3.867e-06/1.455, allocations: 0 / 1.439 GB, free: 15.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=213): time 0.006106/1.461, allocations: 3.16 MB / 1.442 GB, free: 11.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/1.461, allocations: 85.39 kB / 1.442 GB, free: 11.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/1.463, allocations: 1.456 MB / 1.444 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/1.463, allocations: 69.7 kB / 1.444 GB, free: 10.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/1.464, allocations: 1.118 MB / 1.445 GB, free: 9.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008455/1.465, allocations: 0.7278 MB / 1.446 GB, free: 8.367 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006619/1.466, allocations: 359.4 kB / 1.446 GB, free: 8.008 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.466, allocations: 301.1 kB / 1.446 GB, free: 7.711 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/1.468, allocations: 0.9214 MB / 1.447 GB, free: 6.785 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/1.47, allocations: 1.255 MB / 1.448 GB, free: 5.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/1.474, allocations: 2.325 MB / 1.451 GB, free: 2.977 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.474, allocations: 0 / 1.451 GB, free: 2.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005034/1.479, allocations: 2.602 MB / 1.453 GB, free: 368 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/1.479, allocations: 33.7 kB / 1.453 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.479, allocations: 8 kB / 1.453 GB, free: 320 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.642e-05/1.479, allocations: 20.03 kB / 1.453 GB, free: 300 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/1.481, allocations: 467.3 kB / 1.454 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.124e-05/1.481, allocations: 19.94 kB / 1.454 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/1.484, allocations: 397.7 kB / 1.454 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/1.485, allocations: 83.92 kB / 1.454 GB, free: 15.34 MB / 1.076 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.001909/1.487, allocations: 0.6846 MB / 1.455 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009239/1.487, allocations: 217.5 kB / 1.455 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005157/1.493, allocations: 2.523 MB / 1.457 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/1.493, allocations: 20 kB / 1.457 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/1.493, allocations: 0 / 1.457 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003819/1.497, allocations: 2.335 MB / 1.46 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/1.508, allocations: 5.603 MB / 1.465 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.508, allocations: 4 kB / 1.465 GB, free: 3.812 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/1.511, allocations: 479.3 kB / 1.466 GB, free: 3.344 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-05/1.511, allocations: 16.16 kB / 1.466 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/1.511, allocations: 55.97 kB / 1.466 GB, free: 3.273 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.95e-05/1.511, allocations: 12 kB / 1.466 GB, free: 3.262 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.511, allocations: 4 kB / 1.466 GB, free: 3.258 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006955/1.518, allocations: 3.793 MB / 1.469 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/1.52, allocations: 0.5487 MB / 1.47 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006196/1.521, allocations: 44 kB / 1.47 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/1.523, allocations: 239.5 kB / 1.47 GB, free: 14.57 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/1.524, allocations: 153.7 kB / 1.47 GB, free: 14.42 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/1.524, allocations: 67.98 kB / 1.471 GB, free: 14.36 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001933/1.526, allocations: 0.9944 MB / 1.471 GB, free: 13.37 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.81e-07/1.526, allocations: 0 / 1.471 GB, free: 13.37 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002854/1.529, allocations: 0.9273 MB / 1.472 GB, free: 12.44 MB / 1.092 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.0008759/1.53, allocations: 385.6 kB / 1.473 GB, free: 12.07 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004513/1.534, allocations: 2.332 MB / 1.475 GB, free: 9.727 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.534, allocations: 1.688 kB / 1.475 GB, free: 9.727 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002209/1.536, allocations: 1.229 MB / 1.476 GB, free: 8.504 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006956/1.543, allocations: 1.229 MB / 1.477 GB, free: 7.285 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.555, allocations: 7.015 MB / 1.484 GB, free: 224 kB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/1.556, allocations: 1.971 MB / 1.486 GB, free: 14.21 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003133/1.56, allocations: 0.729 MB / 1.487 GB, free: 13.48 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006858/1.56, allocations: 199.3 kB / 1.487 GB, free: 13.28 MB / 1.107 GB Notification: Performance of SimCode: time 1.152e-06/1.56, allocations: 0 / 1.487 GB, free: 13.28 MB / 1.107 GB Notification: Performance of Templates: time 0.07567/1.636, allocations: 45.4 MB / 1.531 GB, free: 424 kB / 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