Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007569/0.0007569, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001797, 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.0006929/0.0006929, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008943/0.001587, 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.9097/0.9097, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08804/0.9977, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.503/2.503, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2478/2.751, allocations: 145.9 MB / 0.817 GB, free: 4.203 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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.444e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1383/0.1384, allocations: 146 MB / 0.9609 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1407, allocations: 2.118 MB / 0.9629 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.1409, allocations: 15.88 kB / 0.963 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.1411, allocations: 67.44 kB / 0.963 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009617/0.1421, allocations: 0.5518 MB / 0.9636 GB, free: 13.56 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007054/0.1428, allocations: 418.7 kB / 0.964 GB, free: 13.15 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005281/0.1433, allocations: 0.5454 MB / 0.9645 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.1435, allocations: 155.5 kB / 0.9646 GB, free: 12.45 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004082/0.1439, allocations: 305.4 kB / 0.9649 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.1443, allocations: 275.1 kB / 0.9652 GB, free: 11.89 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.1444, allocations: 16 kB / 0.9652 GB, free: 11.87 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006193/0.145, allocations: 474.7 kB / 0.9657 GB, free: 11.41 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.1451, allocations: 83.75 kB / 0.9657 GB, free: 11.32 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.1451, allocations: 67.88 kB / 0.9658 GB, free: 11.26 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000526/0.1457, allocations: 406.7 kB / 0.9662 GB, free: 10.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.642e-05/0.1457, allocations: 4 kB / 0.9662 GB, free: 10.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1457, allocations: 0 / 0.9662 GB, free: 10.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.1457, allocations: 0 / 0.9662 GB, free: 10.86 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006788/0.1464, allocations: 0.5341 MB / 0.9667 GB, free: 10.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1464, allocations: 12.62 kB / 0.9667 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00042/0.1468, allocations: 189.6 kB / 0.9669 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1471, allocations: 213.1 kB / 0.9671 GB, free: 9.848 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1471, allocations: 16.38 kB / 0.9671 GB, free: 9.832 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.1471, allocations: 24.31 kB / 0.9671 GB, free: 9.809 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.1474, allocations: 215 kB / 0.9674 GB, free: 9.566 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1474, allocations: 3.938 kB / 0.9674 GB, free: 9.562 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1474, allocations: 8 kB / 0.9674 GB, free: 9.555 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1474, allocations: 8 kB / 0.9674 GB, free: 9.547 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.1475, allocations: 81.8 kB / 0.9675 GB, free: 9.461 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.1483, allocations: 0.9748 MB / 0.9684 GB, free: 8.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1485, allocations: 336.5 kB / 0.9687 GB, free: 8.055 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.1485, allocations: 59.59 kB / 0.9688 GB, free: 7.977 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.1487, allocations: 59.94 kB / 0.9688 GB, free: 7.918 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1488, allocations: 46.67 kB / 0.9689 GB, free: 7.863 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1488, allocations: 0 / 0.9689 GB, free: 7.863 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002542/0.149, allocations: 109.4 kB / 0.969 GB, free: 7.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.1491, allocations: 158.7 kB / 0.9691 GB, free: 7.559 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1492, allocations: 198.1 kB / 0.9693 GB, free: 7.352 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1492, allocations: 25.7 kB / 0.9694 GB, free: 7.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.1492, allocations: 148.3 kB / 0.9695 GB, free: 7.172 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1493, allocations: 47.56 kB / 0.9695 GB, free: 7.125 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.1493, allocations: 45.69 kB / 0.9696 GB, free: 7.074 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.1494, allocations: 326.8 kB / 0.9699 GB, free: 6.746 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.1494, allocations: 18.81 kB / 0.9699 GB, free: 6.727 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.1495, allocations: 183.3 kB / 0.9701 GB, free: 6.492 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.1496, allocations: 129.7 kB / 0.9702 GB, free: 6.332 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1496, allocations: 0 / 0.9702 GB, free: 6.332 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001486/0.1498, allocations: 128.7 kB / 0.9703 GB, free: 6.195 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1498, allocations: 8.25 kB / 0.9703 GB, free: 6.188 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1498, allocations: 4 kB / 0.9703 GB, free: 6.184 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.1498, allocations: 0 / 0.9703 GB, free: 6.184 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1499, allocations: 43.92 kB / 0.9704 GB, free: 6.141 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1499, allocations: 7.938 kB / 0.9704 GB, free: 6.133 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.15, allocations: 19.94 kB / 0.9704 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.15, allocations: 11.94 kB / 0.9704 GB, free: 6.102 MB / 0.948 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 7.577e-05/0.1501, allocations: 128.5 kB / 0.9705 GB, free: 5.965 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.1502, allocations: 23.92 kB / 0.9706 GB, free: 5.941 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.1503, allocations: 125.1 kB / 0.9707 GB, free: 5.809 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1503, allocations: 0 / 0.9707 GB, free: 5.809 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.1503, allocations: 4 kB / 0.9707 GB, free: 5.805 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1503, allocations: 3.938 kB / 0.9707 GB, free: 5.801 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.1508, allocations: 0.694 MB / 0.9714 GB, free: 5.055 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1508, allocations: 4 kB / 0.9714 GB, free: 5.051 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.1509, allocations: 19.98 kB / 0.9714 GB, free: 5.031 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.1509, allocations: 31.78 kB / 0.9714 GB, free: 5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1509, allocations: 0 / 0.9714 GB, free: 5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1509, allocations: 8 kB / 0.9714 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1509, allocations: 3.984 kB / 0.9714 GB, free: 4.988 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1509, allocations: 8.125 kB / 0.9714 GB, free: 4.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.1511, allocations: 266.7 kB / 0.9717 GB, free: 4.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1511, allocations: 11.94 kB / 0.9717 GB, free: 4.668 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.1512, allocations: 7.984 kB / 0.9717 GB, free: 4.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.1512, allocations: 15.92 kB / 0.9717 GB, free: 4.645 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.1512, allocations: 7.938 kB / 0.9717 GB, free: 4.637 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.1512, allocations: 61.45 kB / 0.9718 GB, free: 4.574 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1512, allocations: 0 / 0.9718 GB, free: 4.574 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002453/0.1515, allocations: 91.77 kB / 0.9719 GB, free: 4.484 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (11): * Single equations (assignments): 11 * 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.0002374/0.1517, allocations: 156.2 kB / 0.972 GB, free: 4.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.1519, allocations: 77.06 kB / 0.9721 GB, free: 4.242 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.1519, allocations: 4 kB / 0.9721 GB, free: 4.238 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.1519, allocations: 28.78 kB / 0.9721 GB, free: 4.207 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1522, allocations: 83.91 kB / 0.9722 GB, free: 4.129 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.154, allocations: 459.7 kB / 0.9727 GB, free: 3.637 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.864e-05/0.154, allocations: 91.97 kB / 0.9727 GB, free: 3.523 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.141e-05/0.1541, allocations: 25.69 kB / 0.9728 GB, free: 3.496 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.1543, allocations: 105.3 kB / 0.9729 GB, free: 3.391 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.1543, allocations: 0 / 0.9729 GB, free: 3.391 MB / 0.948 GB Notification: Performance of Templates: time 0.006006/0.1603, allocations: 4.254 MB / 0.977 GB, free: 15.2 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.523818022571504]