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.001465/0.001465, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001512/0.001512, allocations: 211.1 kB / 22.24 MB, free: 4.855 MB / 14.72 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 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.444/3.444, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 67.95 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4004, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2078/0.6082, allocations: 149.6 MB / 1.51 GB, free: 7.422 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.6192, allocations: 6.536 MB / 1.516 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000631/0.6198, allocations: 23.81 kB / 1.516 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008121/0.6206, allocations: 174.7 kB / 1.516 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.6251, allocations: 1.299 MB / 1.518 GB, free: 15.37 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.6273, allocations: 0.6535 MB / 1.518 GB, free: 14.72 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.6286, allocations: 0.7602 MB / 1.519 GB, free: 13.96 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005716/0.6292, allocations: 246.9 kB / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.6312, allocations: 0.7279 MB / 1.52 GB, free: 12.98 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.6323, allocations: 442.4 kB / 1.52 GB, free: 12.55 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.906e-05/0.6324, allocations: 24 kB / 1.521 GB, free: 12.52 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.6348, allocations: 1.04 MB / 1.522 GB, free: 11.48 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.635, allocations: 115.6 kB / 1.522 GB, free: 11.37 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.6353, allocations: 151.3 kB / 1.522 GB, free: 11.22 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.6376, allocations: 0.8644 MB / 1.523 GB, free: 10.35 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.6376, allocations: 4 kB / 1.523 GB, free: 10.35 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6376, allocations: 0 / 1.523 GB, free: 10.35 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.6376, allocations: 4 kB / 1.523 GB, free: 10.34 MB / 1.217 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.001388/0.639, allocations: 0.6368 MB / 1.523 GB, free: 9.676 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.639, allocations: 12.03 kB / 1.523 GB, free: 9.664 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.6401, allocations: 123.6 kB / 1.523 GB, free: 9.543 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.6409, allocations: 283.5 kB / 1.524 GB, free: 9.242 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.641, allocations: 72.06 kB / 1.524 GB, free: 9.16 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.641, allocations: 28 kB / 1.524 GB, free: 9.133 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.6418, allocations: 396.9 kB / 1.524 GB, free: 8.719 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6418, allocations: 0 / 1.524 GB, free: 8.719 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.6419, allocations: 16 kB / 1.524 GB, free: 8.703 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.6419, allocations: 4 kB / 1.524 GB, free: 8.699 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.6425, allocations: 281.6 kB / 1.524 GB, free: 8.422 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.6444, allocations: 1.07 MB / 1.525 GB, free: 7.305 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.6449, allocations: 198.5 kB / 1.526 GB, free: 7.102 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.6451, allocations: 108.8 kB / 1.526 GB, free: 6.992 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000815/0.646, allocations: 135.8 kB / 1.526 GB, free: 6.859 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.646, allocations: 34.56 kB / 1.526 GB, free: 6.816 MB / 1.217 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.646, allocations: 0 / 1.526 GB, free: 6.816 MB / 1.217 GB Notification: Performance of matching and sorting (n=15): time 0.001036/0.647, allocations: 351.8 kB / 1.526 GB, free: 6.469 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.6471, allocations: 59.39 kB / 1.526 GB, free: 6.398 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.6474, allocations: 233.9 kB / 1.527 GB, free: 6.16 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.6474, allocations: 25.7 kB / 1.527 GB, free: 6.129 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.6476, allocations: 204.5 kB / 1.527 GB, free: 5.926 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.6477, allocations: 51.52 kB / 1.527 GB, free: 5.875 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.921e-05/0.6477, allocations: 45.7 kB / 1.527 GB, free: 5.824 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.6479, allocations: 334.8 kB / 1.527 GB, free: 5.488 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.6481, allocations: 83.94 kB / 1.527 GB, free: 5.406 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.6484, allocations: 227 kB / 1.527 GB, free: 5.145 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.6489, allocations: 232.9 kB / 1.528 GB, free: 4.898 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6489, allocations: 0 / 1.528 GB, free: 4.898 MB / 1.217 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006613/0.6496, allocations: 285.2 kB / 1.528 GB, free: 4.613 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6496, allocations: 8 kB / 1.528 GB, free: 4.605 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6496, allocations: 0 / 1.528 GB, free: 4.605 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.6496, allocations: 7.984 kB / 1.528 GB, free: 4.598 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.6499, allocations: 43.92 kB / 1.528 GB, free: 4.555 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6499, allocations: 192 / 1.528 GB, free: 4.555 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.6501, allocations: 27.83 kB / 1.528 GB, free: 4.527 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.6501, allocations: 16 kB / 1.528 GB, free: 4.512 MB / 1.217 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.0001934/0.6503, allocations: 153.7 kB / 1.528 GB, free: 4.352 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.6504, allocations: 23.86 kB / 1.528 GB, free: 4.328 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007129/0.6511, allocations: 307.1 kB / 1.529 GB, free: 4.023 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.6511, allocations: 4 kB / 1.529 GB, free: 4.02 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6511, allocations: 4 kB / 1.529 GB, free: 4.016 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6512, allocations: 3.938 kB / 1.529 GB, free: 4.012 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.6526, allocations: 0.7027 MB / 1.529 GB, free: 3.25 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6526, allocations: 0 / 1.529 GB, free: 3.25 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.6527, allocations: 44.14 kB / 1.529 GB, free: 3.207 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.6528, allocations: 0 / 1.529 GB, free: 3.207 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.6528, allocations: 8 kB / 1.529 GB, free: 3.199 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6528, allocations: 4 kB / 1.529 GB, free: 3.195 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.6528, allocations: 11.92 kB / 1.529 GB, free: 3.184 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.6535, allocations: 393.2 kB / 1.53 GB, free: 2.762 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.6536, allocations: 47.77 kB / 1.53 GB, free: 2.715 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.6536, allocations: 8 kB / 1.53 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.6539, allocations: 15.98 kB / 1.53 GB, free: 2.691 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.6539, allocations: 27.84 kB / 1.53 GB, free: 2.664 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.654, allocations: 8 kB / 1.53 GB, free: 2.656 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001683/0.6541, allocations: 169.2 kB / 1.53 GB, free: 2.492 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6541, allocations: 0 / 1.53 GB, free: 2.492 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005959/0.6547, allocations: 127.6 kB / 1.53 GB, free: 2.367 MB / 1.217 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.0005285/0.6552, allocations: 215 kB / 1.53 GB, free: 2.145 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005476/0.6558, allocations: 219.7 kB / 1.53 GB, free: 1.93 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6558, allocations: 0 / 1.53 GB, free: 1.93 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.656, allocations: 111.8 kB / 1.531 GB, free: 1.82 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.6569, allocations: 111.2 kB / 1.531 GB, free: 1.715 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.6585, allocations: 0.5879 MB / 1.531 GB, free: 1.086 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.6587, allocations: 180.8 kB / 1.531 GB, free: 0.8867 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003099/0.659, allocations: 78.12 kB / 1.531 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.6591, allocations: 27.44 kB / 1.532 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of SimCode: time 7.81e-07/0.6591, allocations: 0 / 1.532 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of Templates: time 0.01436/0.6735, allocations: 6.349 MB / 1.538 GB, free: 10.54 MB / 1.232 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 800] 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.926038697361946]