Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID.I.y|ductIn.mediums.1..T|ductIn.mediums.1..Xi.1.|ductIn.mediums.1..p|ductIn.mediums.2..T|ductIn.mediums.2..Xi.1.|ductIn.mediums.2..p|ductOut.mediums.1..T|ductOut.mediums.1..Xi.1.|ductOut.mediums.1..p|ductOut.mediums.2..T|ductOut.mediums.2..Xi.1.|ductOut.mediums.2..p|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID.I.y|ductIn.mediums.1..T|ductIn.mediums.1..Xi.1.|ductIn.mediums.1..p|ductIn.mediums.2..T|ductIn.mediums.2..Xi.1.|ductIn.mediums.2..p|ductOut.mediums.1..T|ductOut.mediums.1..Xi.1.|ductOut.mediums.1..p|ductOut.mediums.2..T|ductOut.mediums.2..Xi.1.|ductOut.mediums.2..p|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009999/0.0009996, allocations: 172.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 86.66 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.077e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08105/0.0811, allocations: 47.58 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.428/9.509, allocations: 3.633 GB / 3.994 GB, free: 111.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/9.509, allocations: 87.66 kB / 3.994 GB, free: 111.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057/13.57, allocations: 0.9024 GB / 4.897 GB, free: 28.01 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.034e-06/13.57, allocations: 0 / 4.897 GB, free: 28.01 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003497/13.57, allocations: 81.5 kB / 4.897 GB, free: 28 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 829 * Number of variables: 829 Notification: Performance of Generate backend data structure: time 0.03156/13.6, allocations: 6 MB / 4.903 GB, free: 24.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/13.6, allocations: 14.5 kB / 4.903 GB, free: 24.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006252/13.6, allocations: 416 kB / 4.903 GB, free: 24.72 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/13.62, allocations: 2.407 MB / 4.906 GB, free: 24.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008313/13.62, allocations: 359.3 kB / 4.906 GB, free: 24.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003083/13.62, allocations: 308.6 kB / 4.906 GB, free: 24.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/13.64, allocations: 5.257 MB / 4.911 GB, free: 23.39 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003399/13.64, allocations: 15.38 kB / 4.911 GB, free: 23.39 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002413/13.64, allocations: 132.7 kB / 4.911 GB, free: 23.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004557/13.64, allocations: 265.5 kB / 4.912 GB, free: 23.38 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/13.66, allocations: 5.504 MB / 4.917 GB, free: 23.31 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.04795/13.71, allocations: 20.64 MB / 4.937 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00788/13.72, allocations: 3.589 MB / 4.941 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004201/13.72, allocations: 2.243 MB / 4.943 GB, free: 11.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002617/13.73, allocations: 3.199 MB / 4.946 GB, free: 8.164 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006543/13.73, allocations: 2.629 MB / 4.949 GB, free: 7.18 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003935/13.74, allocations: 289.2 kB / 4.949 GB, free: 6.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=317): time 2.789e-05/13.74, allocations: 0 / 4.949 GB, free: 6.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=377): time 0.5557/14.29, allocations: 30.35 MB / 4.979 GB, free: 41.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002028/14.29, allocations: 481.8 kB / 4.979 GB, free: 40.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004533/14.3, allocations: 1.964 MB / 4.981 GB, free: 40.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002113/14.3, allocations: 99.27 kB / 4.981 GB, free: 40.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0024/14.3, allocations: 1.314 MB / 4.982 GB, free: 40.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004155/14.31, allocations: 1.324 MB / 4.984 GB, free: 39.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006256/14.31, allocations: 85.66 kB / 4.984 GB, free: 39.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006256/14.31, allocations: 481.3 kB / 4.984 GB, free: 39.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006631/14.31, allocations: 2.61 MB / 4.987 GB, free: 39.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00638/14.32, allocations: 3.597 MB / 4.99 GB, free: 38.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007344/14.33, allocations: 3.152 MB / 4.993 GB, free: 38.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.073e-05/14.33, allocations: 6.906 kB / 4.993 GB, free: 38.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.02735/14.35, allocations: 8.291 MB / 5.001 GB, free: 38.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00294/14.36, allocations: 10.29 MB / 5.011 GB, free: 27.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.511e-05/14.36, allocations: 23.31 kB / 5.011 GB, free: 27.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007602/14.37, allocations: 2.185 MB / 5.014 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006022/14.37, allocations: 0.9263 MB / 5.014 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008353/14.38, allocations: 5.974 MB / 5.02 GB, free: 24.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007203/14.39, allocations: 0.5358 MB / 5.021 GB, free: 24.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002276/14.39, allocations: 246 kB / 5.021 GB, free: 24.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/14.39, allocations: 7.188 kB / 5.021 GB, free: 24.19 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02507/14.41, allocations: 8.507 MB / 5.029 GB, free: 23.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/14.41, allocations: 24.84 kB / 5.029 GB, free: 23.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006167/14.42, allocations: 1.991 MB / 5.031 GB, free: 23.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005193/14.43, allocations: 0.9469 MB / 5.032 GB, free: 23.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/14.43, allocations: 5.801 MB / 5.038 GB, free: 20.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006172/14.44, allocations: 0.5278 MB / 5.038 GB, free: 20.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/14.44, allocations: 244.8 kB / 5.039 GB, free: 20.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 17 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,$whenCondition1,$PRE.NumberOfPeople.nextTimeEvent,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],NumberOfPeople.nextTimeEvent,$PRE.NumberOfPeople.nextTimeEventScaled,NumberOfPeople.nextTimeEventScaled,PID.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (494): * Single equations (assignments): 485 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.002999/14.44, allocations: 362.7 kB / 5.039 GB, free: 20.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/14.44, allocations: 310.9 kB / 5.039 GB, free: 20.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01914/14.46, allocations: 7.972 MB / 5.047 GB, free: 20.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.028e-05/14.46, allocations: 43.25 kB / 5.047 GB, free: 20.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.878e-05/14.46, allocations: 0 / 5.047 GB, free: 20.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01229/14.48, allocations: 6.037 MB / 5.053 GB, free: 19.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03196/14.51, allocations: 13.31 MB / 5.066 GB, free: 19.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/14.51, allocations: 2.906 kB / 5.066 GB, free: 19.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003998/14.51, allocations: 0.7104 MB / 5.067 GB, free: 19.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009408/14.52, allocations: 2.588 MB / 5.069 GB, free: 19.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001548/14.52, allocations: 177.4 kB / 5.069 GB, free: 19.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005341/14.53, allocations: 5.661 MB / 5.075 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/14.53, allocations: 0 / 5.075 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02459/14.55, allocations: 10.56 MB / 5.085 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004542/14.56, allocations: 1.09 MB / 5.086 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002262/14.56, allocations: 137.5 kB / 5.086 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005822/14.57, allocations: 420.4 kB / 5.087 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/14.57, allocations: 260.5 kB / 5.087 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001439/14.57, allocations: 195.9 kB / 5.087 GB, free: 14.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004468/14.57, allocations: 1.482 MB / 5.089 GB, free: 14.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/14.57, allocations: 0 / 5.089 GB, free: 14.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02031/14.59, allocations: 3.281 MB / 5.092 GB, free: 13.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 21 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1],ductOut.mCs_scaled[1,1],ductOut.mCs_scaled[2,1],ductOut.mediums[1].p,ductOut.mediums[1].Xi[1],ductOut.mediums[1].T,ductOut.mediums[2].p,ductOut.mediums[2].Xi[1],ductOut.mediums[2].T,PID.I.y,ductIn.mCs_scaled[1,1],ductIn.mCs_scaled[2,1],ductIn.mediums[1].p,ductIn.mediums[1].Xi[1],ductIn.mediums[1].T,ductIn.mediums[2].p,ductIn.mediums[2].Xi[1],ductIn.mediums[2].T) * Number of discrete variables: 3 ($whenCondition1,NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Number of discrete states: 2 (NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (374): * Single equations (assignments): 362 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,2 6,2 6,2 6,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01305/14.61, allocations: 3.304 MB / 5.095 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02499/14.63, allocations: 10.5 MB / 5.105 GB, free: 9.871 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.875e-05/14.63, allocations: 4.828 kB / 5.105 GB, free: 9.871 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008113/14.64, allocations: 3.211 MB / 5.109 GB, free: 8.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/14.65, allocations: 1.414 MB / 5.11 GB, free: 8.539 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/14.68, allocations: 8.833 MB / 5.119 GB, free: 6.051 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005271/14.68, allocations: 2.484 MB / 5.121 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01552/14.7, allocations: 2.826 MB / 5.124 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002891/14.7, allocations: 329.1 kB / 5.124 GB, free: 20.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.603e-06/14.7, allocations: 0 / 5.124 GB, free: 20.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.6409/15.34, allocations: 133.3 MB / 5.254 GB, free: 67.25 MB / 0.5105 GB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/TraceSubstances/RoomCO2WithControls/RoomCO2WithControls.csv","../files/Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches