Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 112.4 kB / 17.13 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.664/1.664, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 0.49 GB / 0.7923 GB, free: 1.367 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 67.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37/1.372, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.4168/1.789, allocations: 298.7 MB / 1.614 GB, free: 14.16 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.04067/1.829, allocations: 23.15 MB / 1.636 GB, free: 6.953 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005803/1.835, allocations: 99.25 kB / 1.636 GB, free: 6.855 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.007088/1.842, allocations: 1.884 MB / 1.638 GB, free: 4.961 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.02236/1.865, allocations: 6.317 MB / 1.644 GB, free: 14.62 MB / 1.326 GB Notification: Performance of NFTyping.typeClassSections: time 0.01087/1.876, allocations: 2.922 MB / 1.647 GB, free: 11.7 MB / 1.326 GB Notification: Performance of NFFlatten.flatten: time 0.0152/1.891, allocations: 7.304 MB / 1.654 GB, free: 4.367 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005428/1.896, allocations: 2.453 MB / 1.657 GB, free: 1.855 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/1.907, allocations: 3.242 MB / 1.66 GB, free: 14.63 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007374/1.914, allocations: 2.845 MB / 1.663 GB, free: 11.78 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.001345/1.916, allocations: 340 kB / 1.663 GB, free: 11.45 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01771/1.934, allocations: 6.32 MB / 1.669 GB, free: 5.113 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.003451/1.937, allocations: 1.492 MB / 1.671 GB, free: 3.617 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.004599/1.942, allocations: 1.918 MB / 1.673 GB, free: 1.691 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.02158/1.963, allocations: 6.951 MB / 1.679 GB, free: 10.72 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/1.963, allocations: 0 / 1.679 GB, free: 10.72 MB / 1.357 GB Notification: Performance of FrontEnd: time 2.955e-06/1.963, allocations: 0 / 1.679 GB, free: 10.72 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0001804/1.963, allocations: 0 / 1.679 GB, free: 10.72 MB / 1.357 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.01381/1.977, allocations: 4.202 MB / 1.683 GB, free: 6.438 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/1.977, allocations: 11.98 kB / 1.683 GB, free: 6.426 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006028/1.983, allocations: 0.8682 MB / 1.684 GB, free: 5.555 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004305/1.988, allocations: 1.866 MB / 1.686 GB, free: 3.633 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/1.988, allocations: 213.4 kB / 1.686 GB, free: 3.422 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004852/1.988, allocations: 287.9 kB / 1.687 GB, free: 3.141 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007317/1.996, allocations: 3.593 MB / 1.69 GB, free: 15.42 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.522e-05/1.996, allocations: 3.938 kB / 1.69 GB, free: 15.42 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/1.996, allocations: 116 kB / 1.69 GB, free: 15.3 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/1.996, allocations: 145.2 kB / 1.69 GB, free: 15.16 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006204/2.002, allocations: 3.288 MB / 1.694 GB, free: 11.86 MB / 1.373 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.02287/2.025, allocations: 14.23 MB / 1.707 GB, free: 12.41 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/2.03, allocations: 2.365 MB / 1.71 GB, free: 9.973 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/2.032, allocations: 1.247 MB / 1.711 GB, free: 8.723 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001778/2.034, allocations: 1.382 MB / 1.712 GB, free: 7.047 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002409/2.036, allocations: 1.222 MB / 1.714 GB, free: 5.809 MB / 1.389 GB Notification: Performance of pre-optimization done (n=213): time 6.973e-06/2.036, allocations: 4 kB / 1.714 GB, free: 5.805 MB / 1.389 GB Notification: Performance of matching and sorting (n=213): time 0.006934/2.043, allocations: 3.177 MB / 1.717 GB, free: 2.625 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/2.043, allocations: 77.34 kB / 1.717 GB, free: 2.539 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/2.046, allocations: 1.456 MB / 1.718 GB, free: 1.078 MB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/2.046, allocations: 69.7 kB / 1.718 GB, free: 1.004 MB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/2.047, allocations: 1.137 MB / 1.719 GB, free: 15.86 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/2.048, allocations: 0.7746 MB / 1.72 GB, free: 15.07 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007231/2.049, allocations: 363.5 kB / 1.72 GB, free: 14.71 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.00017/2.049, allocations: 301.1 kB / 1.721 GB, free: 14.41 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/2.051, allocations: 0.9136 MB / 1.722 GB, free: 13.5 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/2.053, allocations: 1.255 MB / 1.723 GB, free: 12.12 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/2.057, allocations: 2.321 MB / 1.725 GB, free: 9.691 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/2.057, allocations: 8.062 kB / 1.725 GB, free: 9.684 MB / 1.404 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005498/2.063, allocations: 2.606 MB / 1.728 GB, free: 7.062 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 7.067e-05/2.063, allocations: 37.69 kB / 1.728 GB, free: 7.02 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/2.063, allocations: 8 kB / 1.728 GB, free: 7.012 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.377e-05/2.063, allocations: 16 kB / 1.728 GB, free: 6.996 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/2.065, allocations: 472 kB / 1.728 GB, free: 6.535 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.063e-05/2.065, allocations: 35.73 kB / 1.728 GB, free: 6.5 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/2.068, allocations: 190.6 kB / 1.728 GB, free: 6.312 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/2.068, allocations: 79.98 kB / 1.728 GB, free: 6.234 MB / 1.404 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.001742/2.07, allocations: 0.6807 MB / 1.729 GB, free: 5.543 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/2.07, allocations: 230.6 kB / 1.729 GB, free: 5.316 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/2.075, allocations: 2.507 MB / 1.732 GB, free: 2.793 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/2.075, allocations: 24 kB / 1.732 GB, free: 2.77 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/2.075, allocations: 3.938 kB / 1.732 GB, free: 2.766 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00421/2.079, allocations: 2.331 MB / 1.734 GB, free: 380 kB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/2.091, allocations: 5.62 MB / 1.74 GB, free: 10.63 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/2.091, allocations: 4.312 kB / 1.74 GB, free: 10.63 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/2.094, allocations: 479.3 kB / 1.74 GB, free: 10.16 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-05/2.094, allocations: 8 kB / 1.74 GB, free: 10.15 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/2.094, allocations: 51.98 kB / 1.74 GB, free: 10.1 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/2.094, allocations: 12 kB / 1.74 GB, free: 10.09 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/2.094, allocations: 4 kB / 1.74 GB, free: 10.09 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007266/2.101, allocations: 3.813 MB / 1.744 GB, free: 6.227 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/2.103, allocations: 0.5499 MB / 1.744 GB, free: 5.656 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/2.103, allocations: 48 kB / 1.744 GB, free: 5.609 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/2.105, allocations: 63.95 kB / 1.744 GB, free: 5.547 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/2.105, allocations: 153.7 kB / 1.745 GB, free: 5.398 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/2.105, allocations: 71.97 kB / 1.745 GB, free: 5.328 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.001792/2.107, allocations: 0.9866 MB / 1.746 GB, free: 4.348 MB / 1.42 GB Notification: Performance of sort global known variables: time 8.1e-08/2.107, allocations: 0 / 1.746 GB, free: 4.348 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.002975/2.11, allocations: 0.9434 MB / 1.747 GB, free: 3.402 MB / 1.42 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.000844/2.111, allocations: 368.3 kB / 1.747 GB, free: 3.035 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.00451/2.115, allocations: 2.232 MB / 1.749 GB, free: 0.7891 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/2.115, allocations: 0 / 1.749 GB, free: 0.7891 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/2.117, allocations: 1.144 MB / 1.75 GB, free: 15.65 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006074/2.124, allocations: 1.289 MB / 1.751 GB, free: 14.39 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/2.135, allocations: 6.042 MB / 1.757 GB, free: 8.266 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/2.137, allocations: 1.987 MB / 1.759 GB, free: 6.242 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/2.138, allocations: 215.4 kB / 1.76 GB, free: 6.031 MB / 1.436 GB Notification: Performance of SimCode: time 1.563e-06/2.138, allocations: 0 / 1.76 GB, free: 6.031 MB / 1.436 GB Notification: Performance of Templates: time 0.08805/2.226, allocations: 42.04 MB / 1.801 GB, free: 12.2 MB / 1.482 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.13965411800018]