Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.0009266/0.0009266, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 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.0009356/0.0009356, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 18.57 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 1.084/1.084, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.875/1.875, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.521e-05, allocations: 5.781 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1714/0.1714, allocations: 159.3 MB / 0.9427 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.004553/0.176, allocations: 4.735 MB / 0.9474 GB, free: 8.172 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004222/0.1764, allocations: 19.88 kB / 0.9474 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.1768, allocations: 123.1 kB / 0.9475 GB, free: 8.031 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.1781, allocations: 0.5868 MB / 0.9481 GB, free: 7.441 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.1796, allocations: 0.8328 MB / 0.9489 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0006115/0.1803, allocations: 0.5767 MB / 0.9494 GB, free: 6.027 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.1805, allocations: 169.4 kB / 0.9496 GB, free: 5.867 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008254/0.1814, allocations: 0.5371 MB / 0.9501 GB, free: 5.328 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005119/0.1819, allocations: 291.1 kB / 0.9504 GB, free: 5.043 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.1819, allocations: 20 kB / 0.9504 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.1832, allocations: 0.8645 MB / 0.9513 GB, free: 4.156 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.924e-05/0.1833, allocations: 95.72 kB / 0.9514 GB, free: 4.062 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 8.604e-05/0.1834, allocations: 91.83 kB / 0.9515 GB, free: 3.973 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0008807/0.1843, allocations: 0.6621 MB / 0.9521 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1843, allocations: 0 / 0.9521 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1843, allocations: 3.938 kB / 0.9521 GB, free: 3.305 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.1843, allocations: 0 / 0.9521 GB, free: 3.305 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007073/0.185, allocations: 0.6231 MB / 0.9527 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1851, allocations: 12.03 kB / 0.9527 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004778/0.1856, allocations: 111.5 kB / 0.9528 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.186, allocations: 244.5 kB / 0.9531 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.186, allocations: 12 kB / 0.9531 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.186, allocations: 28 kB / 0.9531 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1863, allocations: 236 kB / 0.9533 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1863, allocations: 0 / 0.9533 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1863, allocations: 11.94 kB / 0.9533 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1863, allocations: 4 kB / 0.9533 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1865, allocations: 87.81 kB / 0.9534 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1875, allocations: 1.378 MB / 0.9548 GB, free: 404 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1877, allocations: 171.4 kB / 0.9549 GB, free: 168 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.1877, allocations: 70.42 kB / 0.955 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003444/0.1881, allocations: 95.95 kB / 0.9551 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1881, allocations: 49.5 kB / 0.9551 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/0.1881, allocations: 0 / 0.9551 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003541/0.1885, allocations: 145.5 kB / 0.9553 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.1885, allocations: 162.2 kB / 0.9554 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1887, allocations: 245.8 kB / 0.9557 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1887, allocations: 30.2 kB / 0.9557 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/0.1888, allocations: 207.1 kB / 0.9559 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1888, allocations: 51.53 kB / 0.9559 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.1889, allocations: 47.36 kB / 0.956 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.189, allocations: 0.5001 MB / 0.9565 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.189, allocations: 15.98 kB / 0.9565 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1892, allocations: 225.4 kB / 0.9567 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1893, allocations: 141 kB / 0.9568 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1893, allocations: 7.938 kB / 0.9568 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002252/0.1895, allocations: 157.2 kB / 0.957 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1895, allocations: 4 kB / 0.957 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1896, allocations: 4 kB / 0.957 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1896, allocations: 4.25 kB / 0.957 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1897, allocations: 35.92 kB / 0.957 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1897, allocations: 4 kB / 0.957 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.1898, allocations: 19.92 kB / 0.9571 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.1898, allocations: 8 kB / 0.9571 GB, free: 13.74 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 9.174e-05/0.1899, allocations: 172.5 kB / 0.9572 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/0.19, allocations: 31.8 kB / 0.9573 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.1902, allocations: 150.1 kB / 0.9574 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1902, allocations: 4 kB / 0.9574 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1902, allocations: 3.938 kB / 0.9574 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1902, allocations: 4 kB / 0.9574 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.1908, allocations: 0.9572 MB / 0.9584 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1908, allocations: 4 kB / 0.9584 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.1909, allocations: 23.92 kB / 0.9584 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1909, allocations: 0 / 0.9584 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1909, allocations: 4 kB / 0.9584 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1909, allocations: 0 / 0.9584 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1909, allocations: 4 kB / 0.9584 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1911, allocations: 302.1 kB / 0.9587 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.1912, allocations: 23.89 kB / 0.9587 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1912, allocations: 12.19 kB / 0.9587 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.488e-05/0.1913, allocations: 4 kB / 0.9587 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.1913, allocations: 15.86 kB / 0.9587 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.1913, allocations: 8 kB / 0.9587 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001017/0.1914, allocations: 193.1 kB / 0.9589 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1914, allocations: 0 / 0.9589 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003613/0.1918, allocations: 107.7 kB / 0.959 GB, free: 11.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0003584/0.1921, allocations: 210.9 kB / 0.9592 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1923, allocations: 75.53 kB / 0.9593 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1923, allocations: 0 / 0.9593 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.501e-05/0.1924, allocations: 43.55 kB / 0.9593 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1927, allocations: 80.58 kB / 0.9594 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009297/0.1937, allocations: 473 kB / 0.9599 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.845e-05/0.1937, allocations: 92.23 kB / 0.96 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000108/0.1938, allocations: 53.8 kB / 0.96 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.1939, allocations: 24.5 kB / 0.96 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of SimCode: time 1.413e-06/0.1939, allocations: 0 / 0.96 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of Templates: time 0.006694/0.2006, allocations: 4.494 MB / 0.9644 GB, free: 6.086 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.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.544104308122769]