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.001817/0.001817, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001905/0.001905, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.621 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.976/2.976, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.435e-06/2.435e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.932e-05/4.176e-05, allocations: 4.844 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2616/0.2616, allocations: 165.7 MB / 0.9482 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.273, allocations: 7.377 MB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004857/0.2735, allocations: 19.81 kB / 0.9555 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.2742, allocations: 178.7 kB / 0.9556 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.2778, allocations: 1.337 MB / 0.9569 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.2797, allocations: 0.693 MB / 0.9576 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.2808, allocations: 0.7562 MB / 0.9584 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005315/0.2813, allocations: 251.2 kB / 0.9586 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.2829, allocations: 0.6814 MB / 0.9593 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.284, allocations: 426.7 kB / 0.9597 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.286e-05/0.2841, allocations: 28 kB / 0.9597 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.2865, allocations: 1.067 MB / 0.9607 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.2867, allocations: 127.6 kB / 0.9609 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.287, allocations: 115.8 kB / 0.961 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.2892, allocations: 0.9308 MB / 0.9619 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2892, allocations: 0 / 0.9619 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2892, allocations: 0 / 0.9619 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.2892, allocations: 0 / 0.9619 GB, free: 8.512 MB / 0.9167 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.001304/0.2905, allocations: 0.7442 MB / 0.9626 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2906, allocations: 12.03 kB / 0.9626 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.2917, allocations: 187.2 kB / 0.9628 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.2923, allocations: 298.7 kB / 0.9631 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/0.2924, allocations: 76.06 kB / 0.9632 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.2924, allocations: 28 kB / 0.9632 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.2931, allocations: 355.2 kB / 0.9635 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2931, allocations: 4 kB / 0.9635 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.2931, allocations: 8 kB / 0.9635 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.2931, allocations: 11.94 kB / 0.9635 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.2936, allocations: 173.8 kB / 0.9637 GB, free: 6.527 MB / 0.9167 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.002125/0.2957, allocations: 1.322 MB / 0.965 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.296, allocations: 111.1 kB / 0.9651 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.2962, allocations: 63.66 kB / 0.9652 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007755/0.297, allocations: 127.9 kB / 0.9653 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.297, allocations: 41.33 kB / 0.9653 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.297, allocations: 3.938 kB / 0.9653 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0008405/0.2979, allocations: 247.8 kB / 0.9656 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2979, allocations: 51.41 kB / 0.9656 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.2982, allocations: 316.3 kB / 0.9659 GB, free: 4.148 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.2983, allocations: 29.7 kB / 0.9659 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.2985, allocations: 247.3 kB / 0.9662 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.2986, allocations: 59.52 kB / 0.9662 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2987, allocations: 51.31 kB / 0.9663 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003774/0.2991, allocations: 0.5157 MB / 0.9668 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2992, allocations: 51.97 kB / 0.9668 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.2995, allocations: 200.7 kB / 0.967 GB, free: 2.926 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.2999, allocations: 180.3 kB / 0.9672 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2999, allocations: 4 kB / 0.9672 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005466/0.3004, allocations: 209.2 kB / 0.9674 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3004, allocations: 11.94 kB / 0.9674 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3004, allocations: 0 / 0.9674 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3005, allocations: 4 kB / 0.9674 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.3007, allocations: 35.98 kB / 0.9675 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.3007, allocations: 11.92 kB / 0.9675 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.3009, allocations: 19.89 kB / 0.9675 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.3009, allocations: 12.22 kB / 0.9675 GB, free: 2.414 MB / 0.9167 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.0001923/0.3011, allocations: 184.6 kB / 0.9677 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.3012, allocations: 39.72 kB / 0.9677 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00064/0.3019, allocations: 227.1 kB / 0.9679 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3019, allocations: 4 kB / 0.9679 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3019, allocations: 4 kB / 0.9679 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3019, allocations: 0 / 0.9679 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.3033, allocations: 0.7096 MB / 0.9686 GB, free: 1.168 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3033, allocations: 0 / 0.9686 GB, free: 1.168 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.3035, allocations: 35.97 kB / 0.9687 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3035, allocations: 0 / 0.9687 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.3035, allocations: 7.938 kB / 0.9687 GB, free: 1.125 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.3035, allocations: 7.938 kB / 0.9687 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3035, allocations: 4 kB / 0.9687 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.3041, allocations: 404.6 kB / 0.9691 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.3043, allocations: 47.81 kB / 0.9691 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.3043, allocations: 8 kB / 0.9691 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.3045, allocations: 8 kB / 0.9691 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.3046, allocations: 19.91 kB / 0.9691 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.3046, allocations: 8 kB / 0.9692 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002078/0.3048, allocations: 217.1 kB / 0.9694 GB, free: 380 kB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.3048, allocations: 0 / 0.9694 GB, free: 380 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000576/0.3054, allocations: 135.6 kB / 0.9695 GB, free: 244 kB / 0.9167 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.0005712/0.306, allocations: 222.9 kB / 0.9697 GB, free: 12 kB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.3064, allocations: 155.4 kB / 0.9699 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3064, allocations: 0 / 0.9699 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.3066, allocations: 88.33 kB / 0.9699 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.3074, allocations: 108.6 kB / 0.97 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3086, allocations: 0.572 MB / 0.9706 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.3088, allocations: 172.8 kB / 0.9708 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.309, allocations: 62.17 kB / 0.9708 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3091, allocations: 28.5 kB / 0.9708 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of SimCode: time 5.82e-07/0.3091, allocations: 8 kB / 0.9709 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of Templates: time 0.01349/0.3226, allocations: 6.093 MB / 0.9768 GB, free: 8.781 MB / 0.9323 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] 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.514776870957576]