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.001002/0.001002, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.908/2.908, allocations: 462.7 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004161, allocations: 12.41 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3527, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.132/1.485, allocations: 288.1 MB / 1.341 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03001/1.515, allocations: 22.99 MB / 1.363 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005378/1.52, allocations: 63.72 kB / 1.363 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005673/1.526, allocations: 1.56 MB / 1.365 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02148/1.548, allocations: 5.777 MB / 1.37 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009237/1.557, allocations: 2.629 MB / 1.373 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01321/1.57, allocations: 10.73 MB / 1.383 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004936/1.575, allocations: 2.442 MB / 1.386 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0087/1.584, allocations: 2.426 MB / 1.388 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006928/1.591, allocations: 2.714 MB / 1.391 GB, free: 12.94 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001431/1.592, allocations: 168.8 kB / 1.391 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01837/1.611, allocations: 6.871 MB / 1.398 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003601/1.614, allocations: 1.268 MB / 1.399 GB, free: 8.934 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00727/1.621, allocations: 1.713 MB / 1.401 GB, free: 7.918 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01255/1.634, allocations: 5.053 MB / 1.405 GB, free: 5.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.634, allocations: 0 / 1.405 GB, free: 5.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.617e-06/1.634, allocations: 3.938 kB / 1.405 GB, free: 5.066 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002419/1.634, allocations: 4 kB / 1.405 GB, free: 5.062 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.01315/1.648, allocations: 3.477 MB / 1.409 GB, free: 2.684 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/1.648, allocations: 12.84 kB / 1.409 GB, free: 2.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006735/1.654, allocations: 0.8427 MB / 1.41 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005618/1.66, allocations: 1.791 MB / 1.411 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/1.66, allocations: 211.1 kB / 1.412 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/1.662, allocations: 282.6 kB / 1.412 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/1.673, allocations: 3.6 MB / 1.415 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000162/1.673, allocations: 6.719 kB / 1.415 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008318/1.674, allocations: 112.8 kB / 1.416 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/1.674, allocations: 146.9 kB / 1.416 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008472/1.683, allocations: 3.3 MB / 1.419 GB, free: 11.5 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.02179/1.705, allocations: 14.16 MB / 1.433 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004855/1.71, allocations: 2.501 MB / 1.435 GB, free: 9.676 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/1.712, allocations: 1.372 MB / 1.437 GB, free: 8.305 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/1.714, allocations: 1.381 MB / 1.438 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002653/1.717, allocations: 1.23 MB / 1.439 GB, free: 5.395 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 6.763e-06/1.717, allocations: 0 / 1.439 GB, free: 5.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.007106/1.724, allocations: 3.187 MB / 1.442 GB, free: 2.203 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/1.724, allocations: 77.34 kB / 1.442 GB, free: 2.117 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/1.727, allocations: 1.452 MB / 1.444 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002476/1.727, allocations: 69.7 kB / 1.444 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/1.729, allocations: 1.119 MB / 1.445 GB, free: 15.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009982/1.73, allocations: 0.7249 MB / 1.446 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/1.73, allocations: 169.7 kB / 1.446 GB, free: 14.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.73, allocations: 301.1 kB / 1.446 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/1.732, allocations: 0.9214 MB / 1.447 GB, free: 13.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/1.734, allocations: 1.266 MB / 1.448 GB, free: 11.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004013/1.738, allocations: 2.325 MB / 1.45 GB, free: 9.516 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/1.738, allocations: 4 kB / 1.45 GB, free: 9.512 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005528/1.744, allocations: 2.617 MB / 1.453 GB, free: 6.879 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/1.744, allocations: 38.48 kB / 1.453 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.744, allocations: 4.062 kB / 1.453 GB, free: 6.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.444e-05/1.744, allocations: 31.94 kB / 1.453 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/1.746, allocations: 479.2 kB / 1.454 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.475e-05/1.746, allocations: 19.94 kB / 1.454 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/1.75, allocations: 401.7 kB / 1.454 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/1.75, allocations: 79.98 kB / 1.454 GB, free: 5.84 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.002099/1.752, allocations: 0.6884 MB / 1.455 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009025/1.753, allocations: 213.5 kB / 1.455 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005109/1.758, allocations: 2.53 MB / 1.457 GB, free: 2.383 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/1.758, allocations: 20 kB / 1.457 GB, free: 2.363 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.758, allocations: 0 / 1.457 GB, free: 2.363 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003623/1.762, allocations: 2.347 MB / 1.46 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.773, allocations: 5.612 MB / 1.465 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.773, allocations: 4 kB / 1.465 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/1.775, allocations: 495.6 kB / 1.466 GB, free: 9.789 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.675e-05/1.775, allocations: 8 kB / 1.466 GB, free: 9.781 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/1.776, allocations: 55.98 kB / 1.466 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.846e-05/1.776, allocations: 8 kB / 1.466 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.776, allocations: 4 kB / 1.466 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006302/1.782, allocations: 3.815 MB / 1.469 GB, free: 5.855 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/1.784, allocations: 0.541 MB / 1.47 GB, free: 5.293 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006333/1.784, allocations: 44 kB / 1.47 GB, free: 5.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/1.787, allocations: 248.2 kB / 1.47 GB, free: 5.008 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/1.787, allocations: 149.7 kB / 1.47 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.788, allocations: 71.97 kB / 1.47 GB, free: 4.789 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002021/1.79, allocations: 0.9905 MB / 1.471 GB, free: 3.805 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.81e-07/1.79, allocations: 0 / 1.471 GB, free: 3.805 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003294/1.793, allocations: 0.935 MB / 1.472 GB, free: 2.867 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.001035/1.794, allocations: 396.8 kB / 1.473 GB, free: 2.496 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004395/1.798, allocations: 2.338 MB / 1.475 GB, free: 152 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.799, allocations: 4 kB / 1.475 GB, free: 148 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/1.801, allocations: 1.221 MB / 1.476 GB, free: 14.93 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007661/1.808, allocations: 1.229 MB / 1.477 GB, free: 13.71 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/1.821, allocations: 7.456 MB / 1.485 GB, free: 6.188 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002522/1.824, allocations: 1.983 MB / 1.487 GB, free: 4.168 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.825, allocations: 211.4 kB / 1.487 GB, free: 3.961 MB / 1.092 GB Notification: Performance of SimCode: time 1.974e-06/1.825, allocations: 0 / 1.487 GB, free: 3.961 MB / 1.092 GB Notification: Performance of Templates: time 0.07248/1.898, allocations: 41.19 MB / 1.527 GB, free: 10.96 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/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