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.002287/0.002287, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002814/0.002814, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.428/3.428, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.513e-06/1.513e-06, allocations: 0 / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.303e-05, allocations: 9.484 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2522/0.2522, allocations: 165.7 MB / 1.039 GB, free: 316 kB / 0.9949 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.2647, allocations: 7.348 MB / 1.046 GB, free: 8.938 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005923/0.2653, allocations: 19.81 kB / 1.047 GB, free: 8.918 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.2659, allocations: 174.7 kB / 1.047 GB, free: 8.746 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.2701, allocations: 1.322 MB / 1.048 GB, free: 7.418 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.2722, allocations: 0.6892 MB / 1.049 GB, free: 6.727 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2735, allocations: 0.7327 MB / 1.049 GB, free: 5.992 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/0.2742, allocations: 223.3 kB / 1.05 GB, free: 5.777 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.2765, allocations: 0.8409 MB / 1.05 GB, free: 4.934 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.2777, allocations: 414.8 kB / 1.051 GB, free: 4.527 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.2778, allocations: 28 kB / 1.051 GB, free: 4.5 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.2805, allocations: 1.055 MB / 1.052 GB, free: 3.441 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.2807, allocations: 123.6 kB / 1.052 GB, free: 3.32 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.281, allocations: 127.7 kB / 1.052 GB, free: 3.195 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.2835, allocations: 0.927 MB / 1.053 GB, free: 2.266 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2835, allocations: 0 / 1.053 GB, free: 2.266 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2835, allocations: 0 / 1.053 GB, free: 2.266 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.2835, allocations: 0 / 1.053 GB, free: 2.266 MB / 1.01 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.001504/0.285, allocations: 0.7364 MB / 1.054 GB, free: 1.488 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.285, allocations: 11.97 kB / 1.054 GB, free: 1.477 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.2863, allocations: 187.2 kB / 1.054 GB, free: 1.293 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/0.2869, allocations: 282.9 kB / 1.054 GB, free: 0.9922 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.287, allocations: 76.05 kB / 1.054 GB, free: 0.9062 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.2871, allocations: 31.94 kB / 1.054 GB, free: 0.875 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.2881, allocations: 351.2 kB / 1.055 GB, free: 0.4961 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2881, allocations: 0 / 1.055 GB, free: 0.4961 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.2881, allocations: 16 kB / 1.055 GB, free: 492 kB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.2882, allocations: 15.94 kB / 1.055 GB, free: 476 kB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.2886, allocations: 169.8 kB / 1.055 GB, free: 308 kB / 1.01 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.3712/0.6598, allocations: 1.319 MB / 1.056 GB, free: 223 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.6603, allocations: 118.2 kB / 1.056 GB, free: 222.9 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.6605, allocations: 66.52 kB / 1.056 GB, free: 222.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009389/0.6614, allocations: 127 kB / 1.056 GB, free: 222.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.6614, allocations: 39.98 kB / 1.056 GB, free: 222.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 3.737e-06/0.6614, allocations: 0 / 1.056 GB, free: 222.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.001139/0.6626, allocations: 238.6 kB / 1.057 GB, free: 222.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.6626, allocations: 61.06 kB / 1.057 GB, free: 222.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.6629, allocations: 308.1 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.6629, allocations: 29.42 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.6631, allocations: 255.2 kB / 1.057 GB, free: 222.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.6631, allocations: 58.2 kB / 1.057 GB, free: 222.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.6632, allocations: 51.39 kB / 1.057 GB, free: 222.4 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6633, allocations: 0.5137 MB / 1.058 GB, free: 221.9 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.6635, allocations: 45.7 kB / 1.058 GB, free: 221.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.6638, allocations: 204.4 kB / 1.058 GB, free: 221.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.6642, allocations: 181.5 kB / 1.058 GB, free: 221.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.6642, allocations: 3.688 kB / 1.058 GB, free: 221.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007067/0.6649, allocations: 204.3 kB / 1.058 GB, free: 221.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.665, allocations: 14.47 kB / 1.059 GB, free: 221.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.665, allocations: 0 / 1.059 GB, free: 221.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.665, allocations: 2.594 kB / 1.059 GB, free: 221.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.6653, allocations: 47.61 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6653, allocations: 2.688 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.6656, allocations: 18.95 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.6656, allocations: 14.28 kB / 1.059 GB, free: 221.4 MB / 1.01 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 0.000173/0.6658, allocations: 184.8 kB / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.666, allocations: 32.69 kB / 1.059 GB, free: 221.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007886/0.6668, allocations: 229.7 kB / 1.059 GB, free: 221.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6668, allocations: 6.344 kB / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6668, allocations: 3.062 kB / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6668, allocations: 0.5 kB / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.6683, allocations: 0.7006 MB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6683, allocations: 1.719 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.6686, allocations: 39.36 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.6686, allocations: 2.875 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.6686, allocations: 6.656 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.6686, allocations: 3.031 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6686, allocations: 4.906 kB / 1.06 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.6692, allocations: 404 kB / 1.06 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.6693, allocations: 44.33 kB / 1.06 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.6694, allocations: 10.12 kB / 1.06 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.6697, allocations: 11.38 kB / 1.06 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.6698, allocations: 19.38 kB / 1.06 GB, free: 220.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.6698, allocations: 16.69 kB / 1.06 GB, free: 220.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001516/0.6699, allocations: 207.8 kB / 1.06 GB, free: 220.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6699, allocations: 0.5625 kB / 1.06 GB, free: 220.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000844/0.6708, allocations: 137.6 kB / 1.061 GB, free: 220.1 MB / 1.01 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 (16): * Single equations (assignments): 16 * 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.0005577/0.6713, allocations: 222.4 kB / 1.061 GB, free: 220 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000509/0.6718, allocations: 153.7 kB / 1.061 GB, free: 220 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6719, allocations: 1.156 kB / 1.061 GB, free: 220 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.6721, allocations: 86.5 kB / 1.061 GB, free: 219.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6731, allocations: 104.9 kB / 1.061 GB, free: 219.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.6743, allocations: 0.564 MB / 1.062 GB, free: 219.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.6745, allocations: 185.2 kB / 1.062 GB, free: 219.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003005/0.6748, allocations: 55.08 kB / 1.062 GB, free: 219.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.6749, allocations: 24.47 kB / 1.062 GB, free: 219.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.032e-06/0.6749, allocations: 3.031 kB / 1.062 GB, free: 219.4 MB / 1.01 GB Notification: Performance of Templates: time 0.01507/0.69, allocations: 5.975 MB / 1.068 GB, free: 218.9 MB / 1.01 GB " [Timeout remaining time 299] 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.488438187050633]