Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001471/0.001471, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001647/0.001647, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.493/1.493, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.742/2.742, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.112e-05, allocations: 5.891 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2414/0.2415, allocations: 149.5 MB / 0.9324 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.2525, allocations: 6.526 MB / 0.9387 GB, free: 296 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005126/0.253, allocations: 27.75 kB / 0.9388 GB, free: 268 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000715/0.2537, allocations: 178.7 kB / 0.9389 GB, free: 88 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.004099/0.2578, allocations: 1.325 MB / 0.9402 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.26, allocations: 0.6931 MB / 0.9409 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.2612, allocations: 0.7639 MB / 0.9416 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005657/0.2618, allocations: 251.1 kB / 0.9419 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.2635, allocations: 0.6696 MB / 0.9425 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.2646, allocations: 430.7 kB / 0.9429 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.2646, allocations: 24 kB / 0.943 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.2669, allocations: 1.067 MB / 0.944 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.2672, allocations: 123.6 kB / 0.9441 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.2674, allocations: 127.7 kB / 0.9442 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.2699, allocations: 0.9153 MB / 0.9451 GB, free: 9.695 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.2699, allocations: 8 kB / 0.9451 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2699, allocations: 0 / 0.9451 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.2699, allocations: 4 kB / 0.9452 GB, free: 9.684 MB / 0.9011 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.001565/0.2715, allocations: 0.6289 MB / 0.9458 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.2716, allocations: 12.03 kB / 0.9458 GB, free: 9.012 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.2728, allocations: 187.2 kB / 0.946 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.2735, allocations: 292 kB / 0.9462 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.2736, allocations: 72.06 kB / 0.9463 GB, free: 8.434 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.2737, allocations: 28 kB / 0.9463 GB, free: 8.406 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008166/0.2745, allocations: 389 kB / 0.9467 GB, free: 8.004 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2745, allocations: 4 kB / 0.9467 GB, free: 8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.2746, allocations: 15.94 kB / 0.9467 GB, free: 7.984 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2746, allocations: 11.94 kB / 0.9467 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.2752, allocations: 269.8 kB / 0.947 GB, free: 7.707 MB / 0.9011 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.002082/0.2773, allocations: 1.078 MB / 0.948 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.2777, allocations: 182.6 kB / 0.9482 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.278, allocations: 116.8 kB / 0.9483 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008188/0.2788, allocations: 135.9 kB / 0.9485 GB, free: 6.148 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/0.2789, allocations: 34.5 kB / 0.9485 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.2789, allocations: 3.938 kB / 0.9485 GB, free: 6.102 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.001097/0.28, allocations: 368.4 kB / 0.9488 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.28, allocations: 55.41 kB / 0.9489 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.2803, allocations: 237.8 kB / 0.9491 GB, free: 5.426 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.2803, allocations: 29.7 kB / 0.9492 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.2805, allocations: 192.5 kB / 0.9493 GB, free: 5.199 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.2806, allocations: 55.58 kB / 0.9494 GB, free: 5.145 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-05/0.2807, allocations: 41.7 kB / 0.9494 GB, free: 5.098 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.2809, allocations: 334.8 kB / 0.9497 GB, free: 4.762 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.2811, allocations: 91.92 kB / 0.9498 GB, free: 4.672 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.2815, allocations: 230.9 kB / 0.9501 GB, free: 4.406 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.282, allocations: 239.7 kB / 0.9503 GB, free: 4.152 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.282, allocations: 4 kB / 0.9503 GB, free: 4.148 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006972/0.2827, allocations: 285.2 kB / 0.9506 GB, free: 3.863 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.2827, allocations: 10.12 kB / 0.9506 GB, free: 3.855 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2827, allocations: 4 kB / 0.9506 GB, free: 3.852 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.183e-05/0.2828, allocations: 4 kB / 0.9506 GB, free: 3.848 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.283, allocations: 39.97 kB / 0.9506 GB, free: 3.809 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.283, allocations: 16.11 kB / 0.9506 GB, free: 3.793 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.2832, allocations: 23.88 kB / 0.9507 GB, free: 3.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.2833, allocations: 8 kB / 0.9507 GB, free: 3.762 MB / 0.9011 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.0002024/0.2835, allocations: 149.8 kB / 0.9508 GB, free: 3.605 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.2836, allocations: 35.73 kB / 0.9508 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008081/0.2844, allocations: 307.1 kB / 0.9511 GB, free: 3.266 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2844, allocations: 7.938 kB / 0.9511 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2844, allocations: 0 / 0.9511 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2844, allocations: 0 / 0.9511 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.2863, allocations: 0.7181 MB / 0.9518 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.2863, allocations: 224 / 0.9518 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.2865, allocations: 39.97 kB / 0.9519 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2865, allocations: 0 / 0.9519 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.2865, allocations: 12 kB / 0.9519 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.2865, allocations: 7.938 kB / 0.9519 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2865, allocations: 4 kB / 0.9519 GB, free: 2.418 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/0.2873, allocations: 405 kB / 0.9523 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.2874, allocations: 43.83 kB / 0.9523 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.2874, allocations: 12 kB / 0.9523 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.2877, allocations: 15.98 kB / 0.9524 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.2878, allocations: 23.94 kB / 0.9524 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.2878, allocations: 12 kB / 0.9524 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000178/0.288, allocations: 165.2 kB / 0.9525 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.288, allocations: 0 / 0.9525 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006034/0.2886, allocations: 139.6 kB / 0.9527 GB, free: 1.582 MB / 0.9011 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.0005646/0.2891, allocations: 219 kB / 0.9529 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006165/0.2898, allocations: 225.8 kB / 0.9531 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.2898, allocations: 4 kB / 0.9531 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.29, allocations: 111.8 kB / 0.9532 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/0.2908, allocations: 109.4 kB / 0.9533 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2922, allocations: 0.5745 MB / 0.9539 GB, free: 304 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.2925, allocations: 184.8 kB / 0.9541 GB, free: 96 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002856/0.2927, allocations: 70.14 kB / 0.9541 GB, free: 28 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.661e-05/0.2928, allocations: 28.5 kB / 0.9542 GB, free: 0 / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/0.2928, allocations: 0 / 0.9542 GB, free: 0 / 0.9011 GB Notification: Performance of Templates: time 0.01405/0.3069, allocations: 6.091 MB / 0.9601 GB, free: 10.04 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.269188020029105]