Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.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.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001582, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.93/1.93, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001153/0.001153, allocations: 100.6 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003927, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3344, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.27/10.6, allocations: 3.612 GB / 3.978 GB, free: 9.141 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/10.61, allocations: 85.41 kB / 3.978 GB, free: 9.098 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.35/13.96, allocations: 0.5526 GB / 4.53 GB, free: 38.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/13.96, allocations: 0 / 4.53 GB, free: 38.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.078e-05/13.96, allocations: 23.5 kB / 4.53 GB, free: 38.82 MB / 442.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.01287/13.97, allocations: 3.081 MB / 4.533 GB, free: 37.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/13.97, allocations: 9.562 kB / 4.533 GB, free: 37.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009291/13.97, allocations: 137.2 kB / 4.534 GB, free: 37.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/13.97, allocations: 0.729 MB / 4.534 GB, free: 37.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/13.97, allocations: 130.7 kB / 4.534 GB, free: 36.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/13.97, allocations: 90.3 kB / 4.534 GB, free: 36.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/13.98, allocations: 1.447 MB / 4.536 GB, free: 36.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/13.98, allocations: 6.562 kB / 4.536 GB, free: 36.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/13.98, allocations: 41.3 kB / 4.536 GB, free: 36.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/13.98, allocations: 64.3 kB / 4.536 GB, free: 36.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/13.98, allocations: 1.444 MB / 4.537 GB, free: 36.72 MB / 442.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.01356/13.99, allocations: 6.061 MB / 4.543 GB, free: 33.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/14, allocations: 0.9726 MB / 4.544 GB, free: 33.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/14, allocations: 1.746 MB / 4.546 GB, free: 31.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/14, allocations: 42.59 kB / 4.546 GB, free: 31.79 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001046/14, allocations: 115.2 kB / 4.546 GB, free: 31.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=84): time 4.799e-06/14, allocations: 0 / 4.546 GB, free: 31.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.03066/14.03, allocations: 5.146 MB / 4.551 GB, free: 31.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/14.03, allocations: 118.3 kB / 4.551 GB, free: 31.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/14.03, allocations: 0.6791 MB / 4.552 GB, free: 30.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/14.03, allocations: 46.36 kB / 4.552 GB, free: 30.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/14.03, allocations: 477.3 kB / 4.552 GB, free: 30.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/14.03, allocations: 347.2 kB / 4.553 GB, free: 30.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/14.03, allocations: 25.28 kB / 4.553 GB, free: 30.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/14.03, allocations: 357.7 kB / 4.553 GB, free: 30.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/14.03, allocations: 0.6046 MB / 4.554 GB, free: 30.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/14.04, allocations: 0.9453 MB / 4.555 GB, free: 29.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/14.04, allocations: 0.7865 MB / 4.555 GB, free: 29.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/14.04, allocations: 3.953 kB / 4.555 GB, free: 29.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005636/14.04, allocations: 1.865 MB / 4.557 GB, free: 29.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009332/14.05, allocations: 3.979 MB / 4.561 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/14.05, allocations: 9.688 kB / 4.561 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002811/14.05, allocations: 333.4 kB / 4.561 GB, free: 25.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/14.05, allocations: 277.2 kB / 4.562 GB, free: 25.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/14.05, allocations: 0.9184 MB / 4.563 GB, free: 24.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/14.06, allocations: 110 kB / 4.563 GB, free: 24.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/14.06, allocations: 77.05 kB / 4.563 GB, free: 24.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/14.06, allocations: 12.86 kB / 4.563 GB, free: 24.76 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005502/14.06, allocations: 1.794 MB / 4.565 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/14.06, allocations: 16.27 kB / 4.565 GB, free: 24.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/14.06, allocations: 332.7 kB / 4.565 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/14.07, allocations: 280.7 kB / 4.565 GB, free: 24.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/14.07, allocations: 0.9214 MB / 4.566 GB, free: 24.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/14.07, allocations: 103.2 kB / 4.566 GB, free: 24.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/14.07, allocations: 78.17 kB / 4.566 GB, free: 24.08 MB / 442.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.0009783/14.07, allocations: 425.7 kB / 4.567 GB, free: 23.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/14.07, allocations: 97.84 kB / 4.567 GB, free: 23.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005925/14.08, allocations: 1.934 MB / 4.569 GB, free: 23.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/14.08, allocations: 9.062 kB / 4.569 GB, free: 23.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/14.08, allocations: 4.281 kB / 4.569 GB, free: 23.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/14.08, allocations: 7.875 kB / 4.569 GB, free: 23.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007734/14.09, allocations: 2.995 MB / 4.572 GB, free: 23.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/14.09, allocations: 5.203 kB / 4.572 GB, free: 23.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/14.09, allocations: 188.1 kB / 4.572 GB, free: 23.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003333/14.09, allocations: 399.8 kB / 4.572 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/14.09, allocations: 39.36 kB / 4.572 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/14.09, allocations: 0.8957 MB / 4.573 GB, free: 22.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/14.09, allocations: 5.797 kB / 4.573 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006547/14.1, allocations: 2.436 MB / 4.575 GB, free: 22.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009246/14.1, allocations: 345.4 kB / 4.576 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/14.1, allocations: 22.91 kB / 4.576 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/14.1, allocations: 86.53 kB / 4.576 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/14.1, allocations: 74.83 kB / 4.576 GB, free: 22.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/14.1, allocations: 64.53 kB / 4.576 GB, free: 22.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00101/14.1, allocations: 0.5386 MB / 4.577 GB, free: 22.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.41e-07/14.1, allocations: 0 / 4.577 GB, free: 22.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005623/14.11, allocations: 1.356 MB / 4.578 GB, free: 21.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.006278/14.12, allocations: 2.026 MB / 4.58 GB, free: 21.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007581/14.12, allocations: 2.62 MB / 4.582 GB, free: 21.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/14.12, allocations: 448 / 4.582 GB, free: 21.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002185/14.13, allocations: 0.7359 MB / 4.583 GB, free: 20.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004045/14.13, allocations: 496.4 kB / 4.584 GB, free: 20.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007926/14.14, allocations: 2.987 MB / 4.586 GB, free: 19.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/14.14, allocations: 1.143 MB / 4.588 GB, free: 19.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009634/14.14, allocations: 148.2 kB / 4.588 GB, free: 19.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/14.14, allocations: 0 / 4.588 GB, free: 19.21 MB / 442.7 MB Notification: Performance of Templates: time 0.07105/14.21, allocations: 36.95 MB / 4.624 GB, free: 5.98 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.sim & ./Modelica_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/TraceSubstances/RoomCO2/RoomCO2.csv","../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches