Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.0008829/0.0008829, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.002073, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007153/0.0007153, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.001747, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8984/0.8984, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0909/0.9893, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.84/1.84, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4714/2.312, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.068e-05, allocations: 4.984 kB / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.131/0.131, allocations: 146.6 MB / 0.8729 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1333, allocations: 2.318 MB / 0.8751 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1334, allocations: 19.81 kB / 0.8751 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1336, allocations: 95.2 kB / 0.8752 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009039/0.1345, allocations: 0.6645 MB / 0.8759 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.1352, allocations: 0.4947 MB / 0.8764 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.1357, allocations: 0.7406 MB / 0.8771 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.136, allocations: 226.1 kB / 0.8773 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.1364, allocations: 411.7 kB / 0.8777 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004572/0.1368, allocations: 390.9 kB / 0.8781 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.1369, allocations: 24 kB / 0.8781 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.1374, allocations: 482.7 kB / 0.8786 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.1374, allocations: 111.6 kB / 0.8787 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.226e-05/0.1375, allocations: 103.8 kB / 0.8788 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.138, allocations: 470.5 kB / 0.8792 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.138, allocations: 0 / 0.8792 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.054e-06/0.138, allocations: 3.938 kB / 0.8792 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.138, allocations: 0 / 0.8792 GB, free: 10.91 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0006431/0.1387, allocations: 0.6551 MB / 0.8799 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1387, allocations: 12.03 kB / 0.8799 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/0.1393, allocations: 253.4 kB / 0.8801 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1396, allocations: 268.4 kB / 0.8804 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.1397, allocations: 72.06 kB / 0.8804 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.1397, allocations: 28 kB / 0.8805 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.14, allocations: 296.4 kB / 0.8807 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.14, allocations: 0 / 0.8807 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.14, allocations: 12 kB / 0.8807 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.14, allocations: 12 kB / 0.8808 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.879e-05/0.1401, allocations: 82.23 kB / 0.8808 GB, free: 9.133 MB / 0.8542 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.0007815/0.1409, allocations: 0.8732 MB / 0.8817 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.141, allocations: 126.9 kB / 0.8818 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.1411, allocations: 47.59 kB / 0.8819 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.1413, allocations: 67.92 kB / 0.8819 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1413, allocations: 38.56 kB / 0.882 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.1413, allocations: 0 / 0.882 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002663/0.1416, allocations: 131 kB / 0.8821 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.1416, allocations: 55.34 kB / 0.8821 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.1417, allocations: 232.8 kB / 0.8824 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1418, allocations: 25.7 kB / 0.8824 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/0.1418, allocations: 173 kB / 0.8825 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1419, allocations: 55.48 kB / 0.8826 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1419, allocations: 45.67 kB / 0.8826 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.142, allocations: 330.8 kB / 0.883 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.161e-05/0.142, allocations: 22.81 kB / 0.883 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.1421, allocations: 149.3 kB / 0.8831 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1422, allocations: 103.5 kB / 0.8832 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1422, allocations: 3.938 kB / 0.8832 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001526/0.1424, allocations: 124.4 kB / 0.8833 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1424, allocations: 8 kB / 0.8834 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1424, allocations: 0 / 0.8834 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1424, allocations: 4 kB / 0.8834 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1425, allocations: 47.84 kB / 0.8834 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1425, allocations: 4 kB / 0.8834 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.1426, allocations: 19.89 kB / 0.8834 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.1426, allocations: 11.98 kB / 0.8834 GB, free: 6.281 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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 8.046e-05/0.1427, allocations: 124.6 kB / 0.8836 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.1427, allocations: 20.08 kB / 0.8836 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.1429, allocations: 133.9 kB / 0.8837 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1429, allocations: 8 kB / 0.8837 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1429, allocations: 3.938 kB / 0.8837 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1429, allocations: 0 / 0.8837 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.1434, allocations: 0.5193 MB / 0.8842 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1434, allocations: 4 kB / 0.8842 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.306e-05/0.1434, allocations: 28.2 kB / 0.8843 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.1435, allocations: 39.83 kB / 0.8843 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1435, allocations: 4 kB / 0.8843 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1435, allocations: 8 kB / 0.8843 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.1435, allocations: 15.88 kB / 0.8843 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1435, allocations: 0 / 0.8843 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1437, allocations: 303.8 kB / 0.8846 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1437, allocations: 4 kB / 0.8846 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.1438, allocations: 8 kB / 0.8846 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.1438, allocations: 19.97 kB / 0.8846 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1438, allocations: 8 kB / 0.8846 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.1439, allocations: 74.78 kB / 0.8847 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.1439, allocations: 0 / 0.8847 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002404/0.1441, allocations: 115.6 kB / 0.8848 GB, free: 4.742 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (15): * Single equations (assignments): 15 * 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.0002489/0.1444, allocations: 158.4 kB / 0.885 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.1445, allocations: 80.69 kB / 0.8851 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.1445, allocations: 4 kB / 0.8851 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.1446, allocations: 61.73 kB / 0.8851 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.1451, allocations: 0.6868 MB / 0.8858 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.1471, allocations: 0.5681 MB / 0.8863 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.1472, allocations: 96.16 kB / 0.8864 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.264e-05/0.1473, allocations: 41.88 kB / 0.8865 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.1474, allocations: 135.2 kB / 0.8866 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.1474, allocations: 7.938 kB / 0.8866 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of Templates: time 0.007065/0.1545, allocations: 5.876 MB / 0.8923 GB, free: 12.94 MB / 0.8699 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.117744103074074]