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.001511/0.001511, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001767/0.001767, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.741/2.741, allocations: 476.7 MB / 0.7714 GB, free: 4.25 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.002062/0.002062, allocations: 66.05 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2137/0.5648, allocations: 173.1 MB / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009906/0.5747, allocations: 7.233 MB / 1.461 GB, free: 6.211 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005438/0.5753, allocations: 19.81 kB / 1.461 GB, free: 6.191 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006867/0.576, allocations: 166.7 kB / 1.461 GB, free: 6.027 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.5796, allocations: 1.346 MB / 1.462 GB, free: 4.676 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.5814, allocations: 0.6722 MB / 1.463 GB, free: 4.004 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.5825, allocations: 0.768 MB / 1.464 GB, free: 3.23 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004745/0.583, allocations: 243.1 kB / 1.464 GB, free: 2.992 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.5843, allocations: 0.5917 MB / 1.464 GB, free: 2.398 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009813/0.5853, allocations: 466.4 kB / 1.465 GB, free: 1.941 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.5854, allocations: 28 kB / 1.465 GB, free: 1.914 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.588, allocations: 1.372 MB / 1.466 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.5882, allocations: 123.6 kB / 1.466 GB, free: 428 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.5884, allocations: 171.2 kB / 1.467 GB, free: 256 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.5901, allocations: 0.9112 MB / 1.467 GB, free: 15.34 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5901, allocations: 3.984 kB / 1.467 GB, free: 15.33 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5901, allocations: 0 / 1.467 GB, free: 15.33 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.5901, allocations: 4 kB / 1.467 GB, free: 15.33 MB / 1.17 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.001116/0.5912, allocations: 0.629 MB / 1.468 GB, free: 14.67 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5912, allocations: 8.031 kB / 1.468 GB, free: 14.66 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.5923, allocations: 127.6 kB / 1.468 GB, free: 14.54 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.5929, allocations: 295.3 kB / 1.468 GB, free: 14.22 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.593, allocations: 72.06 kB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.593, allocations: 32 kB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.5937, allocations: 371.2 kB / 1.469 GB, free: 13.72 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5937, allocations: 0 / 1.469 GB, free: 13.72 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.5937, allocations: 12 kB / 1.469 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.5938, allocations: 4 kB / 1.469 GB, free: 13.7 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/0.5943, allocations: 273.7 kB / 1.469 GB, free: 13.44 MB / 1.17 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.002092/0.5964, allocations: 1.457 MB / 1.471 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.5968, allocations: 189.5 kB / 1.471 GB, free: 11.67 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.5971, allocations: 112.7 kB / 1.471 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008006/0.5979, allocations: 143.8 kB / 1.471 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.5979, allocations: 34.56 kB / 1.471 GB, free: 11.37 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.5979, allocations: 0 / 1.471 GB, free: 11.37 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.001008/0.5989, allocations: 357.2 kB / 1.471 GB, free: 11.02 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.599, allocations: 55.41 kB / 1.471 GB, free: 10.95 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.5993, allocations: 324.5 kB / 1.472 GB, free: 10.62 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.5994, allocations: 25.7 kB / 1.472 GB, free: 10.59 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.5995, allocations: 184.4 kB / 1.472 GB, free: 10.41 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.5996, allocations: 55.53 kB / 1.472 GB, free: 10.35 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.5997, allocations: 45.7 kB / 1.472 GB, free: 10.3 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5998, allocations: 338.8 kB / 1.472 GB, free: 9.961 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.6, allocations: 95.88 kB / 1.472 GB, free: 9.867 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.6003, allocations: 143.5 kB / 1.473 GB, free: 9.707 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.6008, allocations: 247.7 kB / 1.473 GB, free: 9.445 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6008, allocations: 0 / 1.473 GB, free: 9.445 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006023/0.6014, allocations: 277.2 kB / 1.473 GB, free: 9.168 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.6014, allocations: 8 kB / 1.473 GB, free: 9.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6014, allocations: 0 / 1.473 GB, free: 9.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.6014, allocations: 4 kB / 1.473 GB, free: 9.156 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.6016, allocations: 48.09 kB / 1.473 GB, free: 9.109 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6017, allocations: 0 / 1.473 GB, free: 9.109 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.6019, allocations: 31.83 kB / 1.473 GB, free: 9.078 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.6019, allocations: 8 kB / 1.473 GB, free: 9.07 MB / 1.17 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.0001924/0.6021, allocations: 162.2 kB / 1.473 GB, free: 8.902 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.6022, allocations: 27.81 kB / 1.473 GB, free: 8.875 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000732/0.6029, allocations: 312.2 kB / 1.474 GB, free: 8.562 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.6029, allocations: 0 / 1.474 GB, free: 8.562 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6029, allocations: 4 kB / 1.474 GB, free: 8.559 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.6029, allocations: 3.984 kB / 1.474 GB, free: 8.555 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.6044, allocations: 0.78 MB / 1.474 GB, free: 7.703 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6044, allocations: 0 / 1.474 GB, free: 7.703 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.6046, allocations: 43.91 kB / 1.475 GB, free: 7.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.6046, allocations: 0 / 1.475 GB, free: 7.66 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.6046, allocations: 8.156 kB / 1.475 GB, free: 7.652 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.6046, allocations: 8 kB / 1.475 GB, free: 7.645 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6046, allocations: 7.984 kB / 1.475 GB, free: 7.637 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.6053, allocations: 404.2 kB / 1.475 GB, free: 7.207 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.6054, allocations: 67.73 kB / 1.475 GB, free: 7.141 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.6055, allocations: 7.938 kB / 1.475 GB, free: 7.133 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.6057, allocations: 15.98 kB / 1.475 GB, free: 7.117 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.6058, allocations: 15.92 kB / 1.475 GB, free: 7.102 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.6058, allocations: 15.98 kB / 1.475 GB, free: 7.086 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002436/0.606, allocations: 227 kB / 1.475 GB, free: 6.867 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.606, allocations: 0 / 1.475 GB, free: 6.867 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005531/0.6066, allocations: 119.8 kB / 1.475 GB, free: 6.75 MB / 1.17 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.0004467/0.607, allocations: 217.6 kB / 1.476 GB, free: 6.527 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005194/0.6076, allocations: 223.8 kB / 1.476 GB, free: 6.309 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6076, allocations: 0 / 1.476 GB, free: 6.309 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.6078, allocations: 107.9 kB / 1.476 GB, free: 6.203 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008556/0.6086, allocations: 165.5 kB / 1.476 GB, free: 6.039 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.6099, allocations: 0.6301 MB / 1.477 GB, free: 5.355 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.6103, allocations: 0.7834 MB / 1.477 GB, free: 4.547 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.6104, allocations: 31.44 kB / 1.477 GB, free: 4.516 MB / 1.17 GB Notification: Performance of SimCode: time 3.31e-07/0.6104, allocations: 3.938 kB / 1.477 GB, free: 4.512 MB / 1.17 GB Notification: Performance of Templates: time 0.01045/0.6209, allocations: 6.343 MB / 1.484 GB, free: 14.21 MB / 1.186 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.732154616998741]