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.002058/0.002058, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002492/0.002492, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.694/1.694, allocations: 230.6 MB / 256 MB, free: 7.805 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.92/2.92, allocations: 475.9 MB / 0.7699 GB, free: 4.789 MB / 0.6231 GB " [Timeout remaining time 176] 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.002139/0.002139, allocations: 64.23 kB / 1.117 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4372, allocations: 169.9 MB / 1.283 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.211/0.6482, allocations: 149.5 MB / 1.429 GB, free: 13.59 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.6589, allocations: 6.542 MB / 1.435 GB, free: 7.031 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006064/0.6595, allocations: 19.81 kB / 1.435 GB, free: 7.012 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.6603, allocations: 170.7 kB / 1.436 GB, free: 6.844 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004333/0.6647, allocations: 1.303 MB / 1.437 GB, free: 5.535 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.6671, allocations: 0.658 MB / 1.438 GB, free: 4.879 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001647/0.6688, allocations: 0.768 MB / 1.438 GB, free: 4.109 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007161/0.6695, allocations: 235.2 kB / 1.439 GB, free: 3.879 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.6713, allocations: 0.5876 MB / 1.439 GB, free: 3.289 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.6724, allocations: 438.5 kB / 1.439 GB, free: 2.859 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 7.896e-05/0.6725, allocations: 28 kB / 1.44 GB, free: 2.832 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.6752, allocations: 1.052 MB / 1.441 GB, free: 1.777 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.6755, allocations: 119.6 kB / 1.441 GB, free: 1.66 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.6757, allocations: 151.3 kB / 1.441 GB, free: 1.512 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.6779, allocations: 0.8683 MB / 1.442 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6779, allocations: 0 / 1.442 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.779e-06/0.6779, allocations: 4 kB / 1.442 GB, free: 0.6367 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.6779, allocations: 4 kB / 1.442 GB, free: 0.6328 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.001325/0.6792, allocations: 0.629 MB / 1.442 GB, free: 15.97 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.6793, allocations: 12.03 kB / 1.442 GB, free: 15.96 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.6803, allocations: 123.6 kB / 1.442 GB, free: 15.84 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.681, allocations: 291.4 kB / 1.443 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.6811, allocations: 72.06 kB / 1.443 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.6812, allocations: 31.94 kB / 1.443 GB, free: 15.41 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007683/0.6819, allocations: 400.9 kB / 1.443 GB, free: 14.99 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.6819, allocations: 0 / 1.443 GB, free: 14.99 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.682, allocations: 12 kB / 1.443 GB, free: 14.98 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.682, allocations: 4 kB / 1.443 GB, free: 14.98 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.6826, allocations: 281.7 kB / 1.443 GB, free: 14.7 MB / 1.154 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.001963/0.6845, allocations: 1.062 MB / 1.444 GB, free: 13.59 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.685, allocations: 200.7 kB / 1.445 GB, free: 13.39 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.6852, allocations: 108.8 kB / 1.445 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007983/0.686, allocations: 135.8 kB / 1.445 GB, free: 13.15 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.686, allocations: 38.5 kB / 1.445 GB, free: 13.1 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.686, allocations: 0 / 1.445 GB, free: 13.1 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.001029/0.6871, allocations: 349.3 kB / 1.445 GB, free: 12.75 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.6871, allocations: 55.41 kB / 1.445 GB, free: 12.69 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.6874, allocations: 229.9 kB / 1.446 GB, free: 12.46 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.6874, allocations: 29.7 kB / 1.446 GB, free: 12.42 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.6875, allocations: 200.5 kB / 1.446 GB, free: 12.22 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.6876, allocations: 59.52 kB / 1.446 GB, free: 12.16 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/0.6877, allocations: 41.7 kB / 1.446 GB, free: 12.11 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6878, allocations: 330.8 kB / 1.446 GB, free: 11.78 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.6881, allocations: 87.89 kB / 1.446 GB, free: 11.7 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.6884, allocations: 232.8 kB / 1.446 GB, free: 11.43 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.6888, allocations: 231.3 kB / 1.447 GB, free: 11.18 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6888, allocations: 4 kB / 1.447 GB, free: 11.18 MB / 1.154 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006349/0.6895, allocations: 283.7 kB / 1.447 GB, free: 10.9 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6895, allocations: 11.94 kB / 1.447 GB, free: 10.89 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/0.6895, allocations: 3.984 kB / 1.447 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.6895, allocations: 4 kB / 1.447 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.6897, allocations: 39.98 kB / 1.447 GB, free: 10.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6897, allocations: 0 / 1.447 GB, free: 10.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.6899, allocations: 27.88 kB / 1.447 GB, free: 10.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.69, allocations: 16.17 kB / 1.447 GB, free: 10.8 MB / 1.154 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.0001777/0.6902, allocations: 157.7 kB / 1.447 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.6903, allocations: 19.86 kB / 1.447 GB, free: 10.61 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.691, allocations: 313.6 kB / 1.448 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.691, allocations: 4 kB / 1.448 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.691, allocations: 0 / 1.448 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.691, allocations: 0 / 1.448 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.6924, allocations: 0.7066 MB / 1.448 GB, free: 9.535 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6924, allocations: 0 / 1.448 GB, free: 9.535 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.6926, allocations: 39.92 kB / 1.448 GB, free: 9.496 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.6926, allocations: 4 kB / 1.448 GB, free: 9.492 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.6926, allocations: 8.219 kB / 1.448 GB, free: 9.484 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.6927, allocations: 3.984 kB / 1.448 GB, free: 9.48 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.6927, allocations: 11.88 kB / 1.448 GB, free: 9.469 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/0.6933, allocations: 389.2 kB / 1.449 GB, free: 9.051 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.6935, allocations: 51.77 kB / 1.449 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.6935, allocations: 4 kB / 1.449 GB, free: 8.996 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.6937, allocations: 15.98 kB / 1.449 GB, free: 8.98 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.6938, allocations: 27.84 kB / 1.449 GB, free: 8.953 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.6938, allocations: 8 kB / 1.449 GB, free: 8.945 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001678/0.694, allocations: 169.2 kB / 1.449 GB, free: 8.781 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.694, allocations: 0 / 1.449 GB, free: 8.781 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006046/0.6946, allocations: 127.6 kB / 1.449 GB, free: 8.656 MB / 1.154 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.0005753/0.6952, allocations: 234.8 kB / 1.449 GB, free: 8.414 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005411/0.6957, allocations: 208 kB / 1.449 GB, free: 8.211 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6957, allocations: 4 kB / 1.449 GB, free: 8.207 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.6959, allocations: 111.8 kB / 1.45 GB, free: 8.098 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.6966, allocations: 103.3 kB / 1.45 GB, free: 8 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.6978, allocations: 0.5893 MB / 1.45 GB, free: 7.363 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.698, allocations: 184.8 kB / 1.45 GB, free: 7.164 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000255/0.6983, allocations: 70.19 kB / 1.451 GB, free: 7.094 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.6984, allocations: 27.38 kB / 1.451 GB, free: 7.066 MB / 1.154 GB Notification: Performance of SimCode: time 4.3e-07/0.6984, allocations: 0 / 1.451 GB, free: 7.066 MB / 1.154 GB Notification: Performance of Templates: time 0.01318/0.7116, allocations: 6.362 MB / 1.457 GB, free: 0.8203 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/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: 9.915871992707253]