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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 106.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 497.2 MB / 0.7812 GB, free: 12.08 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 67.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9595/0.9622, allocations: 173.9 MB / 1.304 GB, free: 32.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3205/1.283, allocations: 295.6 MB / 1.593 GB, free: 15.62 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03083/1.314, allocations: 23.14 MB / 1.615 GB, free: 8.426 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/1.317, allocations: 75.62 kB / 1.615 GB, free: 8.352 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.004968/1.322, allocations: 1.876 MB / 1.617 GB, free: 6.465 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01685/1.338, allocations: 6.313 MB / 1.623 GB, free: 128 kB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009043/1.348, allocations: 2.934 MB / 1.626 GB, free: 13.19 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.0119/1.359, allocations: 7.307 MB / 1.633 GB, free: 5.859 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004698/1.364, allocations: 2.457 MB / 1.636 GB, free: 3.344 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008114/1.372, allocations: 3.204 MB / 1.639 GB, free: 156 kB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005674/1.378, allocations: 2.842 MB / 1.642 GB, free: 13.31 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.0009192/1.379, allocations: 340 kB / 1.642 GB, free: 12.98 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0131/1.392, allocations: 6.32 MB / 1.648 GB, free: 6.641 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.002484/1.394, allocations: 1.484 MB / 1.65 GB, free: 5.152 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.00331/1.398, allocations: 1.91 MB / 1.651 GB, free: 3.234 MB / 1.326 GB Notification: Performance of NFConvertDAE.convert: time 0.01435/1.412, allocations: 6.959 MB / 1.658 GB, free: 12.25 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.412, allocations: 4 kB / 1.658 GB, free: 12.25 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.663e-06/1.412, allocations: 0 / 1.658 GB, free: 12.25 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.0001057/1.412, allocations: 0 / 1.658 GB, free: 12.25 MB / 1.342 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.01055/1.423, allocations: 4.195 MB / 1.662 GB, free: 7.977 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.423, allocations: 12.03 kB / 1.662 GB, free: 7.965 MB / 1.342 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005426/1.423, allocations: 388.1 kB / 1.663 GB, free: 7.578 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005527/1.429, allocations: 0.8643 MB / 1.664 GB, free: 6.711 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004163/1.433, allocations: 1.87 MB / 1.665 GB, free: 4.785 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/1.433, allocations: 209.4 kB / 1.666 GB, free: 4.578 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004438/1.434, allocations: 276 kB / 1.666 GB, free: 4.309 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006145/1.44, allocations: 3.597 MB / 1.669 GB, free: 0.5859 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/1.44, allocations: 11.89 kB / 1.669 GB, free: 0.5742 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/1.44, allocations: 120 kB / 1.669 GB, free: 468 kB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/1.44, allocations: 145.2 kB / 1.67 GB, free: 320 kB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005839/1.446, allocations: 3.288 MB / 1.673 GB, free: 13.01 MB / 1.357 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.01873/1.465, allocations: 14.24 MB / 1.687 GB, free: 13.55 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003794/1.469, allocations: 2.371 MB / 1.689 GB, free: 11.11 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/1.471, allocations: 1.247 MB / 1.69 GB, free: 9.867 MB / 1.373 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/1.472, allocations: 1.375 MB / 1.692 GB, free: 8.199 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00205/1.474, allocations: 1.226 MB / 1.693 GB, free: 6.957 MB / 1.373 GB Notification: Performance of pre-optimization done (n=213): time 4.649e-06/1.474, allocations: 0 / 1.693 GB, free: 6.957 MB / 1.373 GB Notification: Performance of matching and sorting (n=213): time 0.006007/1.48, allocations: 3.177 MB / 1.696 GB, free: 3.777 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.739e-05/1.48, allocations: 77.34 kB / 1.696 GB, free: 3.691 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/1.482, allocations: 1.456 MB / 1.697 GB, free: 2.23 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/1.482, allocations: 65.64 kB / 1.697 GB, free: 2.16 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/1.484, allocations: 1.145 MB / 1.699 GB, free: 1.004 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007948/1.484, allocations: 0.7707 MB / 1.699 GB, free: 232 kB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005834/1.485, allocations: 359.6 kB / 1.7 GB, free: 15.87 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.485, allocations: 305.1 kB / 1.7 GB, free: 15.57 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/1.487, allocations: 0.9097 MB / 1.701 GB, free: 14.65 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/1.489, allocations: 1.263 MB / 1.702 GB, free: 13.27 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/1.492, allocations: 2.313 MB / 1.704 GB, free: 10.85 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/1.492, allocations: 7.938 kB / 1.704 GB, free: 10.84 MB / 1.389 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004638/1.497, allocations: 2.614 MB / 1.707 GB, free: 8.211 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/1.497, allocations: 39.56 kB / 1.707 GB, free: 8.168 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.497, allocations: 8 kB / 1.707 GB, free: 8.16 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/1.497, allocations: 19.98 kB / 1.707 GB, free: 8.141 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/1.499, allocations: 471.7 kB / 1.707 GB, free: 7.68 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-05/1.499, allocations: 19.98 kB / 1.707 GB, free: 7.66 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/1.501, allocations: 190.6 kB / 1.708 GB, free: 7.473 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/1.501, allocations: 79.98 kB / 1.708 GB, free: 7.395 MB / 1.389 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.001311/1.502, allocations: 0.6807 MB / 1.708 GB, free: 6.703 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/1.503, allocations: 222.6 kB / 1.709 GB, free: 6.484 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/1.507, allocations: 2.526 MB / 1.711 GB, free: 3.941 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/1.507, allocations: 23.94 kB / 1.711 GB, free: 3.918 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.507, allocations: 0 / 1.711 GB, free: 3.918 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00354/1.511, allocations: 2.343 MB / 1.713 GB, free: 1.512 MB / 1.389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009933/1.521, allocations: 5.6 MB / 1.719 GB, free: 11.79 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.521, allocations: 0 / 1.719 GB, free: 11.79 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/1.523, allocations: 479.7 kB / 1.719 GB, free: 11.32 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/1.523, allocations: 8 kB / 1.719 GB, free: 11.32 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/1.523, allocations: 55.97 kB / 1.719 GB, free: 11.26 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.315e-05/1.523, allocations: 11.94 kB / 1.719 GB, free: 11.25 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.523, allocations: 4 kB / 1.719 GB, free: 11.25 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006171/1.529, allocations: 3.822 MB / 1.723 GB, free: 7.375 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.531, allocations: 0.546 MB / 1.724 GB, free: 6.809 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004879/1.531, allocations: 52.05 kB / 1.724 GB, free: 6.758 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.533, allocations: 59.97 kB / 1.724 GB, free: 6.699 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/1.533, allocations: 153.7 kB / 1.724 GB, free: 6.551 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.533, allocations: 71.97 kB / 1.724 GB, free: 6.48 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.001449/1.535, allocations: 0.9906 MB / 1.725 GB, free: 5.496 MB / 1.404 GB Notification: Performance of sort global known variables: time 1e-07/1.535, allocations: 0 / 1.725 GB, free: 5.496 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.002342/1.537, allocations: 0.9434 MB / 1.726 GB, free: 4.551 MB / 1.404 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.006861/1.544, allocations: 4.636 MB / 1.73 GB, free: 15.86 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.003889/1.548, allocations: 2.224 MB / 1.733 GB, free: 13.63 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.548, allocations: 4 kB / 1.733 GB, free: 13.62 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/1.55, allocations: 1.149 MB / 1.734 GB, free: 12.48 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005324/1.555, allocations: 1.28 MB / 1.735 GB, free: 11.22 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03028/1.585, allocations: 18.64 MB / 1.753 GB, free: 8.078 MB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/1.587, allocations: 1.971 MB / 1.755 GB, free: 6.07 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.002639/1.59, allocations: 0.7249 MB / 1.756 GB, free: 5.344 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.591, allocations: 1.101 MB / 1.757 GB, free: 4.242 MB / 1.436 GB Notification: Performance of SimCode: time 1.273e-06/1.591, allocations: 0 / 1.757 GB, free: 4.242 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/1.712, allocations: 66.04 MB / 1.821 GB, free: 2.848 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/14.03, allocations: 11.72 kB / 1.821 GB, free: 2.84 MB / 1.498 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.2670313231647]