Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007487/0.0007487, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009327/0.001681, allocations: 435.8 kB / 10.33 MB, free: 368 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.000715/0.000715, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009302/0.001645, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9461/0.9461, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.047, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.374/2.374, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2327/2.606, allocations: 145.9 MB / 0.817 GB, free: 4.234 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.456e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1281/0.1281, allocations: 146.6 MB / 0.9615 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.1303, allocations: 2.303 MB / 0.9637 GB, free: 13.43 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1304, allocations: 15.88 kB / 0.9637 GB, free: 13.41 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.1307, allocations: 95.16 kB / 0.9638 GB, free: 13.32 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.1316, allocations: 0.6527 MB / 0.9645 GB, free: 12.66 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.1322, allocations: 498.7 kB / 0.9649 GB, free: 12.17 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.1327, allocations: 0.7249 MB / 0.9656 GB, free: 11.45 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.133, allocations: 234 kB / 0.9659 GB, free: 11.21 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.1336, allocations: 403.8 kB / 0.9663 GB, free: 10.82 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004519/0.1341, allocations: 378.9 kB / 0.9666 GB, free: 10.45 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.1341, allocations: 28 kB / 0.9666 GB, free: 10.42 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.1346, allocations: 490.7 kB / 0.9671 GB, free: 9.941 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.1347, allocations: 111.6 kB / 0.9672 GB, free: 9.832 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.1348, allocations: 99.81 kB / 0.9673 GB, free: 9.734 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.1352, allocations: 470.5 kB / 0.9678 GB, free: 9.273 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.222e-05/0.1352, allocations: 0 / 0.9678 GB, free: 9.273 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1352, allocations: 4 kB / 0.9678 GB, free: 9.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.1353, allocations: 0 / 0.9678 GB, free: 9.27 MB / 0.948 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.0006216/0.1359, allocations: 0.6474 MB / 0.9684 GB, free: 8.598 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.1359, allocations: 8.625 kB / 0.9684 GB, free: 8.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005448/0.1365, allocations: 261.5 kB / 0.9687 GB, free: 8.316 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.1367, allocations: 260.3 kB / 0.9689 GB, free: 8.035 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/0.1368, allocations: 72.06 kB / 0.969 GB, free: 7.953 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1368, allocations: 24 kB / 0.969 GB, free: 7.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.1371, allocations: 308.4 kB / 0.9693 GB, free: 7.598 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1371, allocations: 0 / 0.9693 GB, free: 7.598 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.1371, allocations: 12 kB / 0.9693 GB, free: 7.586 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1371, allocations: 4 kB / 0.9693 GB, free: 7.582 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1372, allocations: 86.23 kB / 0.9694 GB, free: 7.496 MB / 0.948 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.0007847/0.138, allocations: 0.8849 MB / 0.9703 GB, free: 6.574 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1381, allocations: 114.9 kB / 0.9704 GB, free: 6.449 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.1382, allocations: 35.67 kB / 0.9704 GB, free: 6.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.1384, allocations: 75.92 kB / 0.9705 GB, free: 6.336 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.1384, allocations: 42.5 kB / 0.9705 GB, free: 6.285 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.1384, allocations: 0 / 0.9705 GB, free: 6.285 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002711/0.1387, allocations: 129.5 kB / 0.9706 GB, free: 6.152 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.1387, allocations: 55.34 kB / 0.9707 GB, free: 6.086 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1388, allocations: 221 kB / 0.9709 GB, free: 5.859 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1389, allocations: 29.7 kB / 0.9709 GB, free: 5.824 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.1389, allocations: 176.9 kB / 0.9711 GB, free: 5.648 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1389, allocations: 55.53 kB / 0.9711 GB, free: 5.594 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.139, allocations: 45.69 kB / 0.9712 GB, free: 5.543 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.1391, allocations: 334.8 kB / 0.9715 GB, free: 5.207 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.1391, allocations: 18.81 kB / 0.9715 GB, free: 5.188 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.1392, allocations: 151 kB / 0.9717 GB, free: 5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.219e-05/0.1393, allocations: 102.4 kB / 0.9718 GB, free: 4.879 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1393, allocations: 4 kB / 0.9718 GB, free: 4.875 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000149/0.1394, allocations: 116.3 kB / 0.9719 GB, free: 4.754 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.1394, allocations: 8 kB / 0.9719 GB, free: 4.746 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1394, allocations: 0 / 0.9719 GB, free: 4.746 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.1394, allocations: 4 kB / 0.9719 GB, free: 4.742 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1396, allocations: 47.92 kB / 0.9719 GB, free: 4.695 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1396, allocations: 7.922 kB / 0.9719 GB, free: 4.688 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-05/0.1396, allocations: 20.06 kB / 0.972 GB, free: 4.668 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.1397, allocations: 16 kB / 0.972 GB, free: 4.652 MB / 0.948 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 6.924e-05/0.1397, allocations: 116.7 kB / 0.9721 GB, free: 4.527 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.1398, allocations: 23.92 kB / 0.9721 GB, free: 4.504 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.14, allocations: 137.5 kB / 0.9722 GB, free: 4.363 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.14, allocations: 0 / 0.9722 GB, free: 4.363 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.14, allocations: 3.938 kB / 0.9723 GB, free: 4.359 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.14, allocations: 3.984 kB / 0.9723 GB, free: 4.355 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.1404, allocations: 0.5195 MB / 0.9728 GB, free: 3.781 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1404, allocations: 4 kB / 0.9728 GB, free: 3.777 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.1405, allocations: 39.92 kB / 0.9728 GB, free: 3.738 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.1408, allocations: 31.78 kB / 0.9728 GB, free: 3.707 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1408, allocations: 0 / 0.9728 GB, free: 3.707 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1408, allocations: 8 kB / 0.9728 GB, free: 3.699 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1408, allocations: 4 kB / 0.9728 GB, free: 3.695 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1408, allocations: 0 / 0.9728 GB, free: 3.695 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.1409, allocations: 307.8 kB / 0.9731 GB, free: 3.348 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.141, allocations: 12.16 kB / 0.9732 GB, free: 3.336 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.141, allocations: 11.92 kB / 0.9732 GB, free: 3.324 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.1411, allocations: 19.92 kB / 0.9732 GB, free: 3.305 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1411, allocations: 4 kB / 0.9732 GB, free: 3.301 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.1411, allocations: 74.77 kB / 0.9733 GB, free: 3.227 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1411, allocations: 0 / 0.9733 GB, free: 3.227 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002297/0.1414, allocations: 115.7 kB / 0.9734 GB, free: 3.113 MB / 0.948 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.0002297/0.1416, allocations: 148.2 kB / 0.9735 GB, free: 2.961 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.1417, allocations: 88.56 kB / 0.9736 GB, free: 2.871 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1417, allocations: 0 / 0.9736 GB, free: 2.871 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/0.1418, allocations: 49.27 kB / 0.9736 GB, free: 2.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.1421, allocations: 120.1 kB / 0.9738 GB, free: 2.707 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1441, allocations: 0.5684 MB / 0.9743 GB, free: 2.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.261e-05/0.1442, allocations: 100.3 kB / 0.9744 GB, free: 1.973 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.759e-05/0.1443, allocations: 37.89 kB / 0.9744 GB, free: 1.934 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.1445, allocations: 135.2 kB / 0.9746 GB, free: 1.801 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/0.1445, allocations: 0 / 0.9746 GB, free: 1.801 MB / 0.948 GB Notification: Performance of Templates: time 0.007488/0.152, allocations: 5.743 MB / 0.9802 GB, free: 12.16 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.361582528799772]