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.000791/0.000791, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001814, allocations: 440 kB / 10.41 MB, free: 284 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.0007226/0.0007226, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009619/0.001685, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.004/1.004, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09166/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.297/2.297, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2208/2.517, allocations: 146 MB / 0.8176 GB, free: 3.797 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.323e-06/1.323e-06, allocations: 0 / 0.8189 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.648e-06/1.097e-05, allocations: 2.312 kB / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1508/0.1508, allocations: 146 MB / 0.9615 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.1531, allocations: 2.118 MB / 0.9636 GB, free: 13.77 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.1534, allocations: 15.88 kB / 0.9636 GB, free: 13.76 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1536, allocations: 75.36 kB / 0.9636 GB, free: 13.68 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009619/0.1546, allocations: 0.544 MB / 0.9642 GB, free: 13.14 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.1553, allocations: 426.7 kB / 0.9646 GB, free: 12.72 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.1558, allocations: 0.5455 MB / 0.9651 GB, free: 12.17 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.156, allocations: 155.5 kB / 0.9653 GB, free: 12.02 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.1564, allocations: 307.2 kB / 0.9656 GB, free: 11.72 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.1569, allocations: 271.1 kB / 0.9658 GB, free: 11.45 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.1569, allocations: 16 kB / 0.9658 GB, free: 11.44 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006392/0.1575, allocations: 474.7 kB / 0.9663 GB, free: 10.97 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.1576, allocations: 83.77 kB / 0.9664 GB, free: 10.89 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.1577, allocations: 71.81 kB / 0.9664 GB, free: 10.82 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004968/0.1582, allocations: 406.8 kB / 0.9668 GB, free: 10.42 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.1582, allocations: 0 / 0.9668 GB, free: 10.42 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1582, allocations: 0 / 0.9668 GB, free: 10.42 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.1582, allocations: 0 / 0.9668 GB, free: 10.42 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.0006126/0.1588, allocations: 0.5341 MB / 0.9673 GB, free: 9.863 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1588, allocations: 12.03 kB / 0.9674 GB, free: 9.852 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.1593, allocations: 189.6 kB / 0.9675 GB, free: 9.648 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1595, allocations: 209.4 kB / 0.9677 GB, free: 9.418 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1595, allocations: 16.38 kB / 0.9678 GB, free: 9.402 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.1596, allocations: 24.36 kB / 0.9678 GB, free: 9.379 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.1598, allocations: 214.9 kB / 0.968 GB, free: 9.137 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1598, allocations: 0 / 0.968 GB, free: 9.137 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1598, allocations: 7.984 kB / 0.968 GB, free: 9.129 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1598, allocations: 8 kB / 0.968 GB, free: 9.121 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.1599, allocations: 83.05 kB / 0.9681 GB, free: 9.035 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000905/0.1608, allocations: 0.9825 MB / 0.969 GB, free: 7.992 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.161, allocations: 328.6 kB / 0.9693 GB, free: 7.625 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.161, allocations: 71.72 kB / 0.9694 GB, free: 7.535 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.1613, allocations: 59.92 kB / 0.9695 GB, free: 7.477 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1613, allocations: 38.55 kB / 0.9695 GB, free: 7.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.1613, allocations: 0 / 0.9695 GB, free: 7.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002555/0.1615, allocations: 109.5 kB / 0.9696 GB, free: 7.316 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1616, allocations: 158.2 kB / 0.9698 GB, free: 7.125 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1617, allocations: 198 kB / 0.97 GB, free: 6.918 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1617, allocations: 33.7 kB / 0.97 GB, free: 6.879 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.1618, allocations: 140.3 kB / 0.9701 GB, free: 6.738 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.1618, allocations: 47.56 kB / 0.9702 GB, free: 6.691 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.1618, allocations: 41.69 kB / 0.9702 GB, free: 6.645 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.1619, allocations: 334.7 kB / 0.9705 GB, free: 6.309 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.1619, allocations: 14.83 kB / 0.9705 GB, free: 6.293 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.186e-05/0.162, allocations: 185.7 kB / 0.9707 GB, free: 6.059 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1621, allocations: 125.7 kB / 0.9708 GB, free: 5.902 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.1621, allocations: 4 kB / 0.9708 GB, free: 5.898 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001635/0.1623, allocations: 132.7 kB / 0.971 GB, free: 5.758 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1623, allocations: 11.94 kB / 0.971 GB, free: 5.746 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1623, allocations: 0 / 0.971 GB, free: 5.746 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1623, allocations: 4 kB / 0.971 GB, free: 5.742 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1624, allocations: 39.92 kB / 0.971 GB, free: 5.703 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1625, allocations: 11.92 kB / 0.971 GB, free: 5.691 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.075e-05/0.1625, allocations: 15.95 kB / 0.971 GB, free: 5.676 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.1625, allocations: 8 kB / 0.9711 GB, free: 5.668 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.82e-05/0.1626, allocations: 132.8 kB / 0.9712 GB, free: 5.527 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/0.1627, allocations: 19.92 kB / 0.9712 GB, free: 5.508 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.1629, allocations: 112.8 kB / 0.9713 GB, free: 5.387 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1629, allocations: 4 kB / 0.9713 GB, free: 5.383 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1629, allocations: 4 kB / 0.9713 GB, free: 5.379 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1629, allocations: 7.875 kB / 0.9713 GB, free: 5.371 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.1634, allocations: 0.6902 MB / 0.972 GB, free: 4.629 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1634, allocations: 0 / 0.972 GB, free: 4.629 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/0.1635, allocations: 24.05 kB / 0.972 GB, free: 4.605 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.1635, allocations: 35.78 kB / 0.9721 GB, free: 4.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1635, allocations: 4.188 kB / 0.9721 GB, free: 4.566 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1635, allocations: 8 kB / 0.9721 GB, free: 4.559 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1635, allocations: 3.938 kB / 0.9721 GB, free: 4.555 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1635, allocations: 4 kB / 0.9721 GB, free: 4.551 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.1637, allocations: 278.6 kB / 0.9723 GB, free: 4.238 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1637, allocations: 7.938 kB / 0.9723 GB, free: 4.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.1638, allocations: 4 kB / 0.9723 GB, free: 4.227 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.1638, allocations: 11.98 kB / 0.9724 GB, free: 4.215 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.1638, allocations: 4 kB / 0.9724 GB, free: 4.211 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.1639, allocations: 65.45 kB / 0.9724 GB, free: 4.145 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1639, allocations: 4.031 kB / 0.9724 GB, free: 4.141 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002897/0.1642, allocations: 83.77 kB / 0.9725 GB, free: 4.059 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.0002756/0.1645, allocations: 156.1 kB / 0.9727 GB, free: 3.895 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.1646, allocations: 72.7 kB / 0.9727 GB, free: 3.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.1646, allocations: 4 kB / 0.9727 GB, free: 3.816 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.1646, allocations: 40.72 kB / 0.9728 GB, free: 3.773 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.165, allocations: 478.5 kB / 0.9732 GB, free: 3.223 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.1666, allocations: 444.9 kB / 0.9737 GB, free: 2.742 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.1666, allocations: 87.97 kB / 0.9737 GB, free: 2.637 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.965e-05/0.1667, allocations: 29.86 kB / 0.9738 GB, free: 2.605 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.1668, allocations: 101.3 kB / 0.9739 GB, free: 2.504 MB / 0.948 GB Notification: Performance of SimCode: time 6.72e-07/0.1668, allocations: 0 / 0.9739 GB, free: 2.504 MB / 0.948 GB Notification: Performance of Templates: time 0.006146/0.173, allocations: 4.301 MB / 0.9781 GB, free: 14.28 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.36623153090477]