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.001433/0.001433, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001624/0.001624, allocations: 212 kB / 22.99 MB, free: 4.945 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.762/2.762, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002054/0.002054, allocations: 67.23 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3243, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2177/0.542, allocations: 149.5 MB / 1.43 GB, free: 5.828 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.5545, allocations: 6.542 MB / 1.436 GB, free: 15.27 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006565/0.5551, allocations: 23.81 kB / 1.436 GB, free: 15.25 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.5559, allocations: 166.7 kB / 1.436 GB, free: 15.08 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.5601, allocations: 1.303 MB / 1.438 GB, free: 13.77 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.562, allocations: 0.6568 MB / 1.438 GB, free: 13.12 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.5631, allocations: 0.768 MB / 1.439 GB, free: 12.35 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.5635, allocations: 235.1 kB / 1.439 GB, free: 12.12 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.5649, allocations: 0.5916 MB / 1.44 GB, free: 11.52 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009103/0.5658, allocations: 438.5 kB / 1.44 GB, free: 11.09 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.5658, allocations: 28 kB / 1.44 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.5681, allocations: 1.052 MB / 1.441 GB, free: 10.01 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.5683, allocations: 127.5 kB / 1.441 GB, free: 9.887 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.5685, allocations: 147.3 kB / 1.442 GB, free: 9.742 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.57, allocations: 0.8606 MB / 1.442 GB, free: 8.879 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.57, allocations: 0 / 1.442 GB, free: 8.879 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.585e-06/0.57, allocations: 0 / 1.442 GB, free: 8.879 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.57, allocations: 3.938 kB / 1.442 GB, free: 8.875 MB / 1.139 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.001121/0.5711, allocations: 0.6368 MB / 1.443 GB, free: 8.207 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5711, allocations: 8.031 kB / 1.443 GB, free: 8.199 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.5721, allocations: 127.6 kB / 1.443 GB, free: 8.074 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.5727, allocations: 283.4 kB / 1.443 GB, free: 7.773 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.5729, allocations: 84.05 kB / 1.444 GB, free: 7.676 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.5729, allocations: 24 kB / 1.444 GB, free: 7.652 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.5736, allocations: 396.9 kB / 1.444 GB, free: 7.234 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5736, allocations: 3.938 kB / 1.444 GB, free: 7.23 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.5737, allocations: 12 kB / 1.444 GB, free: 7.219 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.5737, allocations: 4 kB / 1.444 GB, free: 7.215 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/0.5742, allocations: 277.7 kB / 1.444 GB, free: 6.945 MB / 1.139 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.001888/0.5761, allocations: 1.07 MB / 1.445 GB, free: 5.828 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.5766, allocations: 190.5 kB / 1.445 GB, free: 5.633 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.5768, allocations: 112.8 kB / 1.446 GB, free: 5.52 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007705/0.5776, allocations: 135.8 kB / 1.446 GB, free: 5.387 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.5776, allocations: 34.56 kB / 1.446 GB, free: 5.344 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.5776, allocations: 0 / 1.446 GB, free: 5.344 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0009936/0.5786, allocations: 349.2 kB / 1.446 GB, free: 4.996 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.5786, allocations: 55.41 kB / 1.446 GB, free: 4.93 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.5789, allocations: 229.9 kB / 1.446 GB, free: 4.699 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.5789, allocations: 29.7 kB / 1.446 GB, free: 4.664 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.5791, allocations: 204.5 kB / 1.447 GB, free: 4.457 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.5791, allocations: 55.52 kB / 1.447 GB, free: 4.402 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.5792, allocations: 49.7 kB / 1.447 GB, free: 4.348 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5794, allocations: 330.8 kB / 1.447 GB, free: 4.016 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.5796, allocations: 87.88 kB / 1.447 GB, free: 3.93 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.5799, allocations: 221.1 kB / 1.447 GB, free: 3.676 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.5804, allocations: 241.8 kB / 1.447 GB, free: 3.418 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5804, allocations: 0 / 1.447 GB, free: 3.418 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006359/0.581, allocations: 285.4 kB / 1.448 GB, free: 3.133 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.581, allocations: 12 kB / 1.448 GB, free: 3.121 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.581, allocations: 0 / 1.448 GB, free: 3.121 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.581, allocations: 4 kB / 1.448 GB, free: 3.117 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.5813, allocations: 47.91 kB / 1.448 GB, free: 3.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.5813, allocations: 0 / 1.448 GB, free: 3.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.5815, allocations: 19.88 kB / 1.448 GB, free: 3.051 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.5815, allocations: 19.94 kB / 1.448 GB, free: 3.031 MB / 1.139 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.0001811/0.5817, allocations: 149.7 kB / 1.448 GB, free: 2.875 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.5818, allocations: 31.8 kB / 1.448 GB, free: 2.844 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.5826, allocations: 305.4 kB / 1.448 GB, free: 2.543 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5826, allocations: 0 / 1.448 GB, free: 2.543 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5826, allocations: 4 kB / 1.448 GB, free: 2.539 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5826, allocations: 0 / 1.448 GB, free: 2.539 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.5839, allocations: 0.7104 MB / 1.449 GB, free: 1.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5839, allocations: 0 / 1.449 GB, free: 1.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.5841, allocations: 43.91 kB / 1.449 GB, free: 1.727 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5841, allocations: 0 / 1.449 GB, free: 1.727 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.5842, allocations: 4 kB / 1.449 GB, free: 1.723 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.5842, allocations: 4 kB / 1.449 GB, free: 1.719 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5842, allocations: 7.938 kB / 1.449 GB, free: 1.711 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.5848, allocations: 397.5 kB / 1.449 GB, free: 1.285 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.585, allocations: 51.7 kB / 1.449 GB, free: 1.234 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.585, allocations: 8 kB / 1.45 GB, free: 1.227 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.5852, allocations: 11.98 kB / 1.45 GB, free: 1.215 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.5853, allocations: 23.91 kB / 1.45 GB, free: 1.191 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.5853, allocations: 8 kB / 1.45 GB, free: 1.184 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001735/0.5855, allocations: 173.1 kB / 1.45 GB, free: 1.016 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5855, allocations: 8 kB / 1.45 GB, free: 1.008 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005371/0.586, allocations: 123.7 kB / 1.45 GB, free: 0.8867 MB / 1.139 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.0004694/0.5865, allocations: 219 kB / 1.45 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005363/0.587, allocations: 209.1 kB / 1.45 GB, free: 468 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.587, allocations: 0 / 1.45 GB, free: 468 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.5873, allocations: 120.5 kB / 1.45 GB, free: 348 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/0.5879, allocations: 110.9 kB / 1.45 GB, free: 240 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5891, allocations: 0.6261 MB / 1.451 GB, free: 15.55 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.5893, allocations: 176.8 kB / 1.451 GB, free: 15.36 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.5894, allocations: 31.44 kB / 1.451 GB, free: 15.33 MB / 1.154 GB Notification: Performance of SimCode: time 3.21e-07/0.5894, allocations: 0 / 1.451 GB, free: 15.33 MB / 1.154 GB Notification: Performance of Templates: time 0.009334/0.5987, allocations: 5.677 MB / 1.457 GB, free: 9.684 MB / 1.154 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.431484220083803]