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.001219/0.001219, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002082/0.003301, 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.001313/0.001313, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001725/0.003037, 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.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09859/1.127, allocations: 53.66 MB / 243.4 MB, free: 15.48 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.453/2.453, allocations: 447.1 MB / 0.675 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2486/2.701, allocations: 146 MB / 0.8176 GB, free: 3.781 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 2.004e-06/2.004e-06, allocations: 0 / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.421e-05, allocations: 2.312 kB / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1391/0.1391, allocations: 146.6 MB / 0.9621 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00295/0.1421, allocations: 2.301 MB / 0.9644 GB, free: 12.95 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.1423, allocations: 23.81 kB / 0.9644 GB, free: 12.92 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.1426, allocations: 103.1 kB / 0.9645 GB, free: 12.82 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.1438, allocations: 0.645 MB / 0.9651 GB, free: 12.17 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/0.1446, allocations: 0.4908 MB / 0.9656 GB, free: 11.68 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007014/0.1454, allocations: 0.7172 MB / 0.9663 GB, free: 10.96 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.1457, allocations: 230.1 kB / 0.9665 GB, free: 10.73 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.1463, allocations: 395.7 kB / 0.9669 GB, free: 10.34 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006023/0.1469, allocations: 386.9 kB / 0.9673 GB, free: 9.965 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.1469, allocations: 28 kB / 0.9673 GB, free: 9.938 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000738/0.1476, allocations: 490.6 kB / 0.9678 GB, free: 9.457 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1478, allocations: 111.7 kB / 0.9679 GB, free: 9.348 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.677e-05/0.1478, allocations: 99.81 kB / 0.968 GB, free: 9.25 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000646/0.1485, allocations: 470.5 kB / 0.9684 GB, free: 8.789 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.1485, allocations: 0 / 0.9684 GB, free: 8.789 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1485, allocations: 7.938 kB / 0.9684 GB, free: 8.781 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.1485, allocations: 0 / 0.9684 GB, free: 8.781 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.0006964/0.1492, allocations: 0.6397 MB / 0.969 GB, free: 8.117 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.1492, allocations: 8.031 kB / 0.969 GB, free: 8.109 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006201/0.1499, allocations: 261.4 kB / 0.9693 GB, free: 7.836 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.1504, allocations: 260.4 kB / 0.9695 GB, free: 7.555 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/0.1505, allocations: 76.06 kB / 0.9696 GB, free: 7.469 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.1505, allocations: 24 kB / 0.9696 GB, free: 7.445 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.1508, allocations: 296.4 kB / 0.9699 GB, free: 7.125 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1508, allocations: 0 / 0.9699 GB, free: 7.125 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.1508, allocations: 12 kB / 0.9699 GB, free: 7.113 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1508, allocations: 4 kB / 0.9699 GB, free: 7.109 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1509, allocations: 98.22 kB / 0.97 GB, free: 7.012 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.0008919/0.1518, allocations: 0.8809 MB / 0.9709 GB, free: 6.098 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.152, allocations: 118.9 kB / 0.971 GB, free: 5.969 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.152, allocations: 43.59 kB / 0.971 GB, free: 5.922 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.1523, allocations: 75.92 kB / 0.9711 GB, free: 5.848 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1523, allocations: 30.56 kB / 0.9711 GB, free: 5.809 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 2.315e-06/0.1523, allocations: 4 kB / 0.9711 GB, free: 5.805 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002881/0.1526, allocations: 137.4 kB / 0.9713 GB, free: 5.664 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.1526, allocations: 55.34 kB / 0.9713 GB, free: 5.598 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1527, allocations: 217 kB / 0.9715 GB, free: 5.367 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1527, allocations: 33.7 kB / 0.9716 GB, free: 5.328 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.1528, allocations: 168.9 kB / 0.9717 GB, free: 5.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.1528, allocations: 59.52 kB / 0.9718 GB, free: 5.102 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.1529, allocations: 41.69 kB / 0.9718 GB, free: 5.055 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.274e-05/0.153, allocations: 334.8 kB / 0.9721 GB, free: 4.719 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.153, allocations: 18.81 kB / 0.9722 GB, free: 4.699 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.1531, allocations: 153.8 kB / 0.9723 GB, free: 4.512 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1532, allocations: 111.5 kB / 0.9724 GB, free: 4.379 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1532, allocations: 0 / 0.9724 GB, free: 4.379 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001707/0.1534, allocations: 113.1 kB / 0.9725 GB, free: 4.262 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1534, allocations: 8.188 kB / 0.9725 GB, free: 4.254 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1534, allocations: 4 kB / 0.9725 GB, free: 4.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1534, allocations: 4 kB / 0.9725 GB, free: 4.246 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1535, allocations: 51.84 kB / 0.9726 GB, free: 4.195 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1536, allocations: 4 kB / 0.9726 GB, free: 4.191 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.1536, allocations: 19.89 kB / 0.9726 GB, free: 4.172 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.1537, allocations: 4 kB / 0.9726 GB, free: 4.168 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 8.977e-05/0.1537, allocations: 124.6 kB / 0.9727 GB, free: 4.035 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.1538, allocations: 27.91 kB / 0.9728 GB, free: 4.008 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.154, allocations: 133.7 kB / 0.9729 GB, free: 3.871 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.154, allocations: 4 kB / 0.9729 GB, free: 3.867 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.154, allocations: 3.938 kB / 0.9729 GB, free: 3.863 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.154, allocations: 4 kB / 0.9729 GB, free: 3.859 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.1545, allocations: 0.5077 MB / 0.9734 GB, free: 3.297 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1545, allocations: 4 kB / 0.9734 GB, free: 3.293 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.183e-05/0.1546, allocations: 35.92 kB / 0.9734 GB, free: 3.258 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.1547, allocations: 43.77 kB / 0.9735 GB, free: 3.215 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1547, allocations: 4.219 kB / 0.9735 GB, free: 3.211 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1547, allocations: 8 kB / 0.9735 GB, free: 3.203 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1547, allocations: 3.938 kB / 0.9735 GB, free: 3.199 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1547, allocations: 7.984 kB / 0.9735 GB, free: 3.191 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.1549, allocations: 295.9 kB / 0.9738 GB, free: 2.855 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1549, allocations: 8 kB / 0.9738 GB, free: 2.848 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.155, allocations: 15.98 kB / 0.9738 GB, free: 2.832 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.155, allocations: 11.98 kB / 0.9738 GB, free: 2.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.155, allocations: 11.98 kB / 0.9738 GB, free: 2.809 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.1551, allocations: 74.77 kB / 0.9739 GB, free: 2.738 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1551, allocations: 4 kB / 0.9739 GB, free: 2.734 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003033/0.1554, allocations: 115.7 kB / 0.974 GB, free: 2.621 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.0002683/0.1557, allocations: 156.1 kB / 0.9742 GB, free: 2.461 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.1558, allocations: 85.12 kB / 0.9742 GB, free: 2.375 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.1558, allocations: 0 / 0.9742 GB, free: 2.375 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.742e-05/0.1559, allocations: 52.72 kB / 0.9743 GB, free: 2.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.1564, allocations: 0.6184 MB / 0.9749 GB, free: 1.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.1585, allocations: 0.5604 MB / 0.9754 GB, free: 0.9805 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.839e-05/0.1586, allocations: 96.3 kB / 0.9755 GB, free: 0.8633 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.1587, allocations: 33.95 kB / 0.9756 GB, free: 0.8242 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.1589, allocations: 135.2 kB / 0.9757 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/0.1589, allocations: 3.938 kB / 0.9757 GB, free: 0.6875 MB / 0.948 GB Notification: Performance of Templates: time 0.007872/0.1668, allocations: 5.755 MB / 0.9813 GB, free: 11.05 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.556878640316427]