Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.001134/0.001134, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002713, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001262/0.001262, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.002539, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.917/0.917, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0898/1.007, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.772/1.772, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4691/2.241, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.[0-9,]+.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.[0-9,]+.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.22e-05, allocations: 4.844 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1385/0.1385, allocations: 151.8 MB / 0.8776 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005187/0.1437, allocations: 4.697 MB / 0.8822 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.144, allocations: 55.56 kB / 0.8822 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.1446, allocations: 290 kB / 0.8825 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.1461, allocations: 1.259 MB / 0.8837 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.1472, allocations: 0.9153 MB / 0.8846 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.1489, allocations: 2.591 MB / 0.8872 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.15, allocations: 0.8966 MB / 0.888 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.1517, allocations: 1.655 MB / 0.8897 GB, free: 60 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006701/0.1524, allocations: 0.7909 MB / 0.8904 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.961e-05/0.1525, allocations: 104 kB / 0.8905 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005671/0.153, allocations: 447 kB / 0.891 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.1533, allocations: 478.8 kB / 0.8914 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.1537, allocations: 383.3 kB / 0.8918 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1547, allocations: 1.106 MB / 0.8929 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.905e-05/0.1548, allocations: 0 / 0.8929 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1548, allocations: 4 kB / 0.8929 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.1548, allocations: 3.938 kB / 0.8929 GB, free: 12.76 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001393/0.1562, allocations: 1.581 MB / 0.8944 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1562, allocations: 12.03 kB / 0.8944 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007323/0.1569, allocations: 389 kB / 0.8948 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/0.1576, allocations: 0.637 MB / 0.8954 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.1577, allocations: 70 kB / 0.8955 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.1578, allocations: 92 kB / 0.8956 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.1584, allocations: 0.8673 MB / 0.8964 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.1585, allocations: 7.938 kB / 0.8964 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.1585, allocations: 40 kB / 0.8965 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.1585, allocations: 38 kB / 0.8965 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.1589, allocations: 314 kB / 0.8968 GB, free: 8.547 MB / 0.8698 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.002357/0.1613, allocations: 3.41 MB / 0.9001 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.1616, allocations: 285.2 kB / 0.9004 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1617, allocations: 113.7 kB / 0.9005 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.1618, allocations: 56.44 kB / 0.9006 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1619, allocations: 47 kB / 0.9006 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 1.683e-06/0.1619, allocations: 0 / 0.9006 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.0004697/0.1623, allocations: 310 kB / 0.9009 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.1624, allocations: 55.91 kB / 0.901 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.1627, allocations: 0.5661 MB / 0.9015 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.1627, allocations: 37.7 kB / 0.9015 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1629, allocations: 445 kB / 0.902 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/0.163, allocations: 186.4 kB / 0.9021 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1631, allocations: 138.5 kB / 0.9023 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.1632, allocations: 394.6 kB / 0.9027 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.1633, allocations: 72.73 kB / 0.9027 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.1636, allocations: 0.6433 MB / 0.9034 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.1639, allocations: 468.3 kB / 0.9038 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1639, allocations: 7.938 kB / 0.9038 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003997/0.1643, allocations: 431.6 kB / 0.9042 GB, free: 432 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1643, allocations: 8 kB / 0.9042 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.1643, allocations: 8 kB / 0.9042 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1644, allocations: 12.72 kB / 0.9042 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.1648, allocations: 175.7 kB / 0.9044 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.1648, allocations: 19.92 kB / 0.9044 GB, free: 208 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.165, allocations: 76.19 kB / 0.9045 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.1651, allocations: 35.98 kB / 0.9045 GB, free: 96 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * 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.0001522/0.1652, allocations: 164.4 kB / 0.9047 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.1653, allocations: 59.94 kB / 0.9048 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.1656, allocations: 290.6 kB / 0.905 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1656, allocations: 8 kB / 0.905 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.1656, allocations: 0 / 0.905 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001726/0.1658, allocations: 200.3 kB / 0.9052 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008526/0.1666, allocations: 0.8994 MB / 0.9061 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1666, allocations: 0 / 0.9061 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.167, allocations: 150.9 kB / 0.9063 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.1671, allocations: 119.3 kB / 0.9064 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1671, allocations: 4.047 kB / 0.9064 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.1672, allocations: 19.92 kB / 0.9064 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1672, allocations: 4 kB / 0.9064 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1672, allocations: 7.938 kB / 0.9064 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.1676, allocations: 0.528 MB / 0.9069 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.1676, allocations: 16 kB / 0.9069 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.1678, allocations: 16 kB / 0.9069 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1679, allocations: 39.81 kB / 0.907 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1679, allocations: 12 kB / 0.907 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001671/0.1681, allocations: 260.5 kB / 0.9072 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1681, allocations: 0 / 0.9072 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004381/0.1685, allocations: 311.3 kB / 0.9075 GB, free: 12.88 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003359/0.1688, allocations: 173 kB / 0.9077 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.1691, allocations: 290.5 kB / 0.908 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/0.1691, allocations: 16.44 kB / 0.908 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1693, allocations: 121.4 kB / 0.9081 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008401/0.1701, allocations: 478.9 kB / 0.9086 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.1746, allocations: 1.648 MB / 0.9102 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.1747, allocations: 247.1 kB / 0.9104 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002881/0.175, allocations: 122.7 kB / 0.9105 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/0.1755, allocations: 329.1 kB / 0.9108 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of SimCode: time 9.21e-07/0.1755, allocations: 4 kB / 0.9109 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of Templates: time 0.01804/0.1935, allocations: 16.35 MB / 0.9268 GB, free: 9.453 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.265046223066747]