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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001687/0.001687, allocations: 115.8 kB / 16.41 MB, free: 6.391 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.001872/0.001872, allocations: 189.4 kB / 17.34 MB, free: 5.836 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.534/2.534, allocations: 472.7 MB / 0.746 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.08 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6965/0.6978, allocations: 159.9 MB / 1.226 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2625/0.9603, allocations: 294.3 MB / 1.514 GB, free: 6.238 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02688/0.9872, allocations: 23.05 MB / 1.536 GB, free: 15.13 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.9903, allocations: 79.62 kB / 1.536 GB, free: 15.05 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004529/0.9948, allocations: 1.876 MB / 1.538 GB, free: 13.17 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01403/1.009, allocations: 6.305 MB / 1.544 GB, free: 6.836 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.006857/1.016, allocations: 2.923 MB / 1.547 GB, free: 3.914 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007926/1.024, allocations: 7.319 MB / 1.554 GB, free: 12.57 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/1.027, allocations: 2.98 MB / 1.557 GB, free: 9.539 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/1.033, allocations: 2.94 MB / 1.56 GB, free: 6.613 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00367/1.036, allocations: 2.715 MB / 1.563 GB, free: 3.898 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0005258/1.037, allocations: 344 kB / 1.563 GB, free: 3.562 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6374/1.674, allocations: 6.013 MB / 1.569 GB, free: 15.59 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002284/1.677, allocations: 1.463 MB / 1.57 GB, free: 15.59 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003045/1.68, allocations: 1.905 MB / 1.572 GB, free: 15.59 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/1.692, allocations: 6.956 MB / 1.579 GB, free: 15.21 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.692, allocations: 0.9688 kB / 1.579 GB, free: 15.21 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.332e-06/1.692, allocations: 0 / 1.579 GB, free: 15.21 MB / 1.279 GB Notification: Performance of Transformations before backend: time 8.226e-05/1.692, allocations: 0 / 1.579 GB, free: 15.21 MB / 1.279 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.01036/1.702, allocations: 4.202 MB / 1.583 GB, free: 13.45 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.703, allocations: 10.88 kB / 1.583 GB, free: 13.45 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005628/1.708, allocations: 0.855 MB / 1.584 GB, free: 13.27 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/1.712, allocations: 1.874 MB / 1.586 GB, free: 12.75 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/1.712, allocations: 205.2 kB / 1.586 GB, free: 12.74 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000463/1.713, allocations: 278.2 kB / 1.586 GB, free: 12.73 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006235/1.719, allocations: 3.596 MB / 1.59 GB, free: 12.38 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.98e-05/1.719, allocations: 9.625 kB / 1.59 GB, free: 12.38 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/1.72, allocations: 114.7 kB / 1.59 GB, free: 12.38 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/1.72, allocations: 146.8 kB / 1.59 GB, free: 12.37 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005506/1.725, allocations: 3.287 MB / 1.593 GB, free: 12.34 MB / 1.279 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.01598/1.741, allocations: 14.23 MB / 1.607 GB, free: 20.1 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/1.744, allocations: 2.49 MB / 1.61 GB, free: 19.67 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/1.746, allocations: 1.353 MB / 1.611 GB, free: 19.65 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/1.747, allocations: 1.373 MB / 1.612 GB, free: 18.14 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/1.749, allocations: 1.229 MB / 1.613 GB, free: 18.07 MB / 1.295 GB Notification: Performance of pre-optimization done (n=213): time 4.077e-06/1.749, allocations: 0 / 1.613 GB, free: 18.07 MB / 1.295 GB Notification: Performance of matching and sorting (n=213): time 0.005281/1.754, allocations: 3.172 MB / 1.617 GB, free: 17.87 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/1.754, allocations: 76.75 kB / 1.617 GB, free: 17.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/1.756, allocations: 1.456 MB / 1.618 GB, free: 17.64 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/1.756, allocations: 62.02 kB / 1.618 GB, free: 17.61 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000657/1.757, allocations: 1.154 MB / 1.619 GB, free: 17.12 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/1.757, allocations: 0.7672 MB / 1.62 GB, free: 16.61 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005501/1.758, allocations: 361.5 kB / 1.62 GB, free: 16.58 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/1.758, allocations: 309.6 kB / 1.621 GB, free: 16.28 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/1.759, allocations: 0.9103 MB / 1.621 GB, free: 16.27 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/1.761, allocations: 1.257 MB / 1.623 GB, free: 15.96 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003208/1.764, allocations: 2.319 MB / 1.625 GB, free: 15.63 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/1.764, allocations: 3.375 kB / 1.625 GB, free: 15.63 MB / 1.295 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004103/1.768, allocations: 2.607 MB / 1.628 GB, free: 15.41 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/1.768, allocations: 42.33 kB / 1.628 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.769, allocations: 6 kB / 1.628 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/1.769, allocations: 18.72 kB / 1.628 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/1.77, allocations: 460.2 kB / 1.628 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/1.77, allocations: 19.34 kB / 1.628 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/1.773, allocations: 191.4 kB / 1.628 GB, free: 15.28 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/1.773, allocations: 83.36 kB / 1.628 GB, free: 15.28 MB / 1.295 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.001232/1.774, allocations: 0.6961 MB / 1.629 GB, free: 15.15 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/1.774, allocations: 225.3 kB / 1.629 GB, free: 15.04 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/1.778, allocations: 2.517 MB / 1.632 GB, free: 14.92 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003744/1.782, allocations: 2.328 MB / 1.634 GB, free: 14.53 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.782, allocations: 0.7812 kB / 1.634 GB, free: 14.53 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.783, allocations: 0.5513 MB / 1.634 GB, free: 14.29 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/1.784, allocations: 46.95 kB / 1.635 GB, free: 14.29 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.785, allocations: 62.27 kB / 1.635 GB, free: 14.28 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/1.786, allocations: 144.1 kB / 1.635 GB, free: 14.28 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004982/1.791, allocations: 2.635 MB / 1.637 GB, free: 14.12 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005074/1.796, allocations: 3.934 MB / 1.641 GB, free: 13.73 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001398/1.797, allocations: 1.174 MB / 1.642 GB, free: 13.71 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00122/1.798, allocations: 0.9869 MB / 1.643 GB, free: 13.6 MB / 1.295 GB Notification: Performance of Backend: time 4.41e-07/1.798, allocations: 1 kB / 1.643 GB, free: 13.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006129/1.804, allocations: 2.731 MB / 1.646 GB, free: 13.25 MB / 1.295 GB Notification: Performance of SimCode: time 0.008517/1.813, allocations: 6.268 MB / 1.652 GB, free: 10.41 MB / 1.295 GB Notification: Performance of Templates: time 0.08271/1.896, allocations: 61.81 MB / 1.712 GB, free: 13.48 MB / 1.326 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