Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00165/0.00165, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002047/0.002047, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.352/3.352, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002117/0.002117, allocations: 74.98 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4522, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2031/0.6553, allocations: 149.5 MB / 1.473 GB, free: 10.9 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009497/0.6648, allocations: 6.554 MB / 1.48 GB, free: 4.324 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005585/0.6654, allocations: 19.81 kB / 1.48 GB, free: 4.305 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.666, allocations: 174.7 kB / 1.48 GB, free: 4.133 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.6697, allocations: 1.299 MB / 1.481 GB, free: 2.828 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.6716, allocations: 0.6598 MB / 1.482 GB, free: 2.172 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.6727, allocations: 0.768 MB / 1.482 GB, free: 1.402 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.6731, allocations: 235.1 kB / 1.483 GB, free: 1.168 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.6748, allocations: 0.7396 MB / 1.483 GB, free: 436 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009411/0.6758, allocations: 454.5 kB / 1.484 GB, free: 15.98 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.425e-05/0.6758, allocations: 28 kB / 1.484 GB, free: 15.95 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.678, allocations: 1.052 MB / 1.485 GB, free: 14.9 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.6782, allocations: 115.6 kB / 1.485 GB, free: 14.79 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.6784, allocations: 147.3 kB / 1.485 GB, free: 14.64 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.6799, allocations: 0.8683 MB / 1.486 GB, free: 13.77 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6799, allocations: 0 / 1.486 GB, free: 13.77 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6799, allocations: 0 / 1.486 GB, free: 13.77 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.6799, allocations: 0 / 1.486 GB, free: 13.77 MB / 1.186 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.001127/0.6811, allocations: 0.6407 MB / 1.487 GB, free: 13.1 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.6811, allocations: 8.031 kB / 1.487 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.6821, allocations: 127.6 kB / 1.487 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.6828, allocations: 283.4 kB / 1.487 GB, free: 12.66 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.6829, allocations: 76.06 kB / 1.487 GB, free: 12.57 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.683, allocations: 28 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/0.6837, allocations: 396.9 kB / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.6837, allocations: 0 / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.6837, allocations: 12 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.6838, allocations: 8 kB / 1.487 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.6843, allocations: 281.6 kB / 1.488 GB, free: 11.84 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.6861, allocations: 1.074 MB / 1.489 GB, free: 10.71 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.6866, allocations: 186.5 kB / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.6868, allocations: 112.8 kB / 1.489 GB, free: 10.41 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007731/0.6876, allocations: 135.8 kB / 1.489 GB, free: 10.27 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.6876, allocations: 34.56 kB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.6876, allocations: 3.938 kB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0009951/0.6886, allocations: 351 kB / 1.49 GB, free: 9.879 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.6886, allocations: 55.39 kB / 1.49 GB, free: 9.812 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.6889, allocations: 229.9 kB / 1.49 GB, free: 9.582 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.689, allocations: 33.7 kB / 1.49 GB, free: 9.543 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.6891, allocations: 200.5 kB / 1.49 GB, free: 9.344 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.6892, allocations: 51.53 kB / 1.49 GB, free: 9.293 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.6893, allocations: 45.66 kB / 1.49 GB, free: 9.242 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.6895, allocations: 338.8 kB / 1.49 GB, free: 8.902 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.6896, allocations: 79.94 kB / 1.491 GB, free: 8.824 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.6899, allocations: 224.1 kB / 1.491 GB, free: 8.566 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.6904, allocations: 241 kB / 1.491 GB, free: 8.312 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6904, allocations: 0 / 1.491 GB, free: 8.312 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006839/0.691, allocations: 285.3 kB / 1.491 GB, free: 8.027 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6911, allocations: 4 kB / 1.491 GB, free: 8.023 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6911, allocations: 4 kB / 1.491 GB, free: 8.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6911, allocations: 0 / 1.491 GB, free: 8.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.6913, allocations: 47.91 kB / 1.491 GB, free: 7.973 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.6913, allocations: 4 kB / 1.491 GB, free: 7.969 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.6915, allocations: 19.88 kB / 1.491 GB, free: 7.949 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.6916, allocations: 12 kB / 1.491 GB, free: 7.938 MB / 1.186 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.0001944/0.6917, allocations: 161.8 kB / 1.491 GB, free: 7.77 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.6919, allocations: 23.86 kB / 1.491 GB, free: 7.746 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/0.6926, allocations: 299.1 kB / 1.492 GB, free: 7.449 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.6926, allocations: 7.984 kB / 1.492 GB, free: 7.441 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6926, allocations: 4 kB / 1.492 GB, free: 7.438 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.6926, allocations: 3.938 kB / 1.492 GB, free: 7.434 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.6939, allocations: 0.7104 MB / 1.492 GB, free: 6.664 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6939, allocations: 4 kB / 1.492 GB, free: 6.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.6941, allocations: 35.92 kB / 1.493 GB, free: 6.625 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.6941, allocations: 4 kB / 1.493 GB, free: 6.621 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.6941, allocations: 4 kB / 1.493 GB, free: 6.617 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.6941, allocations: 4.219 kB / 1.493 GB, free: 6.613 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.6941, allocations: 15.91 kB / 1.493 GB, free: 6.598 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006301/0.6948, allocations: 395.5 kB / 1.493 GB, free: 6.176 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.6949, allocations: 55.72 kB / 1.493 GB, free: 6.121 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.6949, allocations: 8 kB / 1.493 GB, free: 6.113 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.6952, allocations: 11.98 kB / 1.493 GB, free: 6.102 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.6952, allocations: 23.86 kB / 1.493 GB, free: 6.078 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.6953, allocations: 11.98 kB / 1.493 GB, free: 6.066 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001627/0.6954, allocations: 169.2 kB / 1.493 GB, free: 5.898 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6954, allocations: 0 / 1.493 GB, free: 5.898 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005987/0.696, allocations: 127.6 kB / 1.493 GB, free: 5.773 MB / 1.186 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.0005056/0.6965, allocations: 219 kB / 1.494 GB, free: 5.547 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.6971, allocations: 215.7 kB / 1.494 GB, free: 5.336 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6971, allocations: 384 / 1.494 GB, free: 5.336 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.6973, allocations: 119.8 kB / 1.494 GB, free: 5.219 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.6979, allocations: 92.92 kB / 1.494 GB, free: 5.133 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.6991, allocations: 0.5934 MB / 1.495 GB, free: 4.496 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.6993, allocations: 180.8 kB / 1.495 GB, free: 4.297 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.6995, allocations: 78.06 kB / 1.495 GB, free: 4.223 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.218e-05/0.6996, allocations: 27.44 kB / 1.495 GB, free: 4.195 MB / 1.186 GB Notification: Performance of SimCode: time 3e-07/0.6996, allocations: 4 kB / 1.495 GB, free: 4.191 MB / 1.186 GB Notification: Performance of Templates: time 0.01264/0.7122, allocations: 6.41 MB / 1.501 GB, free: 13.89 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.287628391990438]