Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 93.02 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002642, allocations: 7.938 kB / 351.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2394, allocations: 50.42 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.741/8.98, allocations: 3.552 GB / 3.945 GB, free: 91.96 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/8.981, allocations: 88.08 kB / 3.945 GB, free: 91.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.098/11.08, allocations: 0.5359 GB / 4.481 GB, free: 39.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/11.08, allocations: 0 / 4.481 GB, free: 39.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000127/11.08, allocations: 24.81 kB / 4.481 GB, free: 39.57 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.0135/11.09, allocations: 2.964 MB / 4.483 GB, free: 37.81 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/11.09, allocations: 9.875 kB / 4.484 GB, free: 37.81 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/11.09, allocations: 136.3 kB / 4.484 GB, free: 37.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/11.1, allocations: 0.7272 MB / 4.484 GB, free: 37.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/11.1, allocations: 134.1 kB / 4.484 GB, free: 37.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006205/11.1, allocations: 92.03 kB / 4.485 GB, free: 37.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003598/11.1, allocations: 1.438 MB / 4.486 GB, free: 37.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/11.1, allocations: 3.875 kB / 4.486 GB, free: 37.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/11.1, allocations: 39.41 kB / 4.486 GB, free: 37.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/11.1, allocations: 71.39 kB / 4.486 GB, free: 37.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/11.1, allocations: 1.434 MB / 4.487 GB, free: 37.11 MB / 458.7 MB 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.009608/11.11, allocations: 6.044 MB / 4.493 GB, free: 34.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/11.12, allocations: 0.9663 MB / 4.494 GB, free: 34.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/11.12, allocations: 1.805 MB / 4.496 GB, free: 32.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/11.12, allocations: 51.53 kB / 4.496 GB, free: 32.04 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007665/11.12, allocations: 106.5 kB / 4.496 GB, free: 31.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=84): time 6.352e-06/11.12, allocations: 1.906 kB / 4.496 GB, free: 31.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01758/11.14, allocations: 5.143 MB / 4.501 GB, free: 31.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/11.14, allocations: 112.8 kB / 4.501 GB, free: 31.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/11.14, allocations: 0.6836 MB / 4.502 GB, free: 30.81 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/11.14, allocations: 48.39 kB / 4.502 GB, free: 30.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/11.14, allocations: 445.5 kB / 4.503 GB, free: 30.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/11.14, allocations: 350.1 kB / 4.503 GB, free: 30.15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/11.14, allocations: 27.88 kB / 4.503 GB, free: 30.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/11.14, allocations: 410.2 kB / 4.503 GB, free: 29.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/11.14, allocations: 0.5961 MB / 4.504 GB, free: 29.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/11.14, allocations: 0.9378 MB / 4.505 GB, free: 28.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/11.14, allocations: 0.7847 MB / 4.506 GB, free: 28.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/11.14, allocations: 2.562 kB / 4.506 GB, free: 28.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003717/11.15, allocations: 1.904 MB / 4.507 GB, free: 27.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001011/11.15, allocations: 3.979 MB / 4.511 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/11.15, allocations: 7.406 kB / 4.511 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/11.15, allocations: 333.2 kB / 4.512 GB, free: 23.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/11.15, allocations: 266.6 kB / 4.512 GB, free: 23.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/11.15, allocations: 0.9284 MB / 4.513 GB, free: 22.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/11.15, allocations: 114 kB / 4.513 GB, free: 22.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/11.15, allocations: 83.48 kB / 4.513 GB, free: 22.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/11.15, allocations: 6.219 kB / 4.513 GB, free: 22.84 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003526/11.16, allocations: 1.787 MB / 4.515 GB, free: 22.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/11.16, allocations: 9.406 kB / 4.515 GB, free: 22.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/11.16, allocations: 335.1 kB / 4.515 GB, free: 22.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/11.16, allocations: 270.6 kB / 4.515 GB, free: 22.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/11.16, allocations: 0.9198 MB / 4.516 GB, free: 21.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/11.16, allocations: 113.9 kB / 4.516 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/11.16, allocations: 72.39 kB / 4.516 GB, free: 21.38 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008465/11.16, allocations: 423 kB / 4.517 GB, free: 21.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/11.16, allocations: 96.78 kB / 4.517 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003808/11.17, allocations: 1.966 MB / 4.519 GB, free: 19.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/11.17, allocations: 16 kB / 4.519 GB, free: 19.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/11.17, allocations: 3.938 kB / 4.519 GB, free: 19.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/11.17, allocations: 3.703 kB / 4.519 GB, free: 19.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005569/11.17, allocations: 3.101 MB / 4.522 GB, free: 17.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/11.17, allocations: 0 / 4.522 GB, free: 17.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008572/11.17, allocations: 183.9 kB / 4.522 GB, free: 16.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/11.18, allocations: 401.5 kB / 4.522 GB, free: 16.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/11.18, allocations: 35.17 kB / 4.522 GB, free: 16.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/11.18, allocations: 0.9029 MB / 4.523 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/11.18, allocations: 4 kB / 4.523 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004088/11.18, allocations: 2.452 MB / 4.526 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009981/11.18, allocations: 346.8 kB / 4.526 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/11.18, allocations: 24 kB / 4.526 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/11.18, allocations: 86.77 kB / 4.526 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/11.18, allocations: 70.59 kB / 4.526 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/11.18, allocations: 51.02 kB / 4.526 GB, free: 13.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009141/11.18, allocations: 0.545 MB / 4.527 GB, free: 12.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/11.18, allocations: 0 / 4.527 GB, free: 12.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005924/11.19, allocations: 1.308 MB / 4.528 GB, free: 11.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00702/11.2, allocations: 1.873 MB / 4.53 GB, free: 9.891 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006089/11.2, allocations: 2.612 MB / 4.532 GB, free: 7.555 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/11.2, allocations: 4.438 kB / 4.532 GB, free: 7.551 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/11.21, allocations: 0.7298 MB / 4.533 GB, free: 6.926 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/11.21, allocations: 497.7 kB / 4.534 GB, free: 6.566 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/11.21, allocations: 2.916 MB / 4.536 GB, free: 3.996 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009219/11.22, allocations: 1.141 MB / 4.538 GB, free: 18.99 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002629/11.22, allocations: 0.6707 MB / 4.538 GB, free: 18.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/11.22, allocations: 118.7 kB / 4.538 GB, free: 18.43 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/11.22, allocations: 3.938 kB / 4.538 GB, free: 18.43 MB / 474.7 MB Notification: Performance of Templates: time 0.3646/11.58, allocations: 47.7 MB / 4.585 GB, free: 53.18 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","../files/Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches