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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002767/0.002767, allocations: 190.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 251 MB, free: 13 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.82/2.82, allocations: 476.7 MB / 0.7646 GB, free: 9.848 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001988/0.001988, allocations: 67.89 kB / 1.11 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.8744, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2146/1.089, allocations: 170.2 MB / 1.441 GB, free: 9.344 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009382/1.098, allocations: 7.208 MB / 1.448 GB, free: 2.117 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/1.099, allocations: 19.81 kB / 1.448 GB, free: 2.098 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000563/1.099, allocations: 174.7 kB / 1.448 GB, free: 1.926 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0033/1.103, allocations: 1.334 MB / 1.449 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/1.104, allocations: 0.6671 MB / 1.45 GB, free: 15.92 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0009848/1.105, allocations: 0.7719 MB / 1.45 GB, free: 15.14 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/1.106, allocations: 242 kB / 1.451 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/1.107, allocations: 0.5993 MB / 1.451 GB, free: 14.31 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008417/1.108, allocations: 442.5 kB / 1.452 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/1.108, allocations: 28 kB / 1.452 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/1.11, allocations: 1.372 MB / 1.453 GB, free: 12.47 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/1.111, allocations: 119.6 kB / 1.453 GB, free: 12.36 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/1.111, allocations: 183.1 kB / 1.453 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/1.112, allocations: 0.9031 MB / 1.454 GB, free: 11.27 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.112, allocations: 0 / 1.454 GB, free: 11.27 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.282e-06/1.112, allocations: 4 kB / 1.454 GB, free: 11.27 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.796e-06/1.112, allocations: 0 / 1.454 GB, free: 11.27 MB / 1.154 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.001132/1.113, allocations: 0.6368 MB / 1.455 GB, free: 10.6 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.113, allocations: 8.031 kB / 1.455 GB, free: 10.59 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.114, allocations: 131.6 kB / 1.455 GB, free: 10.46 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/1.115, allocations: 271.5 kB / 1.455 GB, free: 10.17 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.709e-05/1.115, allocations: 54.3 kB / 1.455 GB, free: 10.11 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/1.115, allocations: 24 kB / 1.455 GB, free: 10.09 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007099/1.116, allocations: 371.3 kB / 1.456 GB, free: 9.703 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/1.116, allocations: 0 / 1.456 GB, free: 9.703 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/1.116, allocations: 12 kB / 1.456 GB, free: 9.691 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/1.116, allocations: 8 kB / 1.456 GB, free: 9.684 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/1.117, allocations: 273.7 kB / 1.456 GB, free: 9.418 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.002172/1.119, allocations: 1.461 MB / 1.457 GB, free: 7.836 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/1.119, allocations: 182.5 kB / 1.458 GB, free: 7.648 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/1.119, allocations: 116.7 kB / 1.458 GB, free: 7.531 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008155/1.12, allocations: 135.8 kB / 1.458 GB, free: 7.398 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.12, allocations: 30.56 kB / 1.458 GB, free: 7.359 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/1.12, allocations: 4 kB / 1.458 GB, free: 7.355 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.001033/1.121, allocations: 357.2 kB / 1.458 GB, free: 7 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.121, allocations: 59.34 kB / 1.458 GB, free: 6.93 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/1.122, allocations: 312.5 kB / 1.459 GB, free: 6.617 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/1.122, allocations: 29.7 kB / 1.459 GB, free: 6.582 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/1.122, allocations: 188.4 kB / 1.459 GB, free: 6.395 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/1.122, allocations: 55.48 kB / 1.459 GB, free: 6.34 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/1.122, allocations: 45.7 kB / 1.459 GB, free: 6.289 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.122, allocations: 334.8 kB / 1.459 GB, free: 5.953 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/1.122, allocations: 91.86 kB / 1.459 GB, free: 5.863 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/1.123, allocations: 152.3 kB / 1.459 GB, free: 5.695 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/1.123, allocations: 240.9 kB / 1.46 GB, free: 5.441 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.123, allocations: 0 / 1.46 GB, free: 5.441 MB / 1.154 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006131/1.124, allocations: 293.1 kB / 1.46 GB, free: 5.148 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.124, allocations: 6.188 kB / 1.46 GB, free: 5.145 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.124, allocations: 0 / 1.46 GB, free: 5.145 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.124, allocations: 8.188 kB / 1.46 GB, free: 5.137 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/1.124, allocations: 39.97 kB / 1.46 GB, free: 5.098 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.124, allocations: 7.938 kB / 1.46 GB, free: 5.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/1.124, allocations: 27.83 kB / 1.46 GB, free: 5.062 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/1.124, allocations: 12 kB / 1.46 GB, free: 5.051 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.0001734/1.124, allocations: 153.7 kB / 1.46 GB, free: 4.891 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/1.125, allocations: 31.81 kB / 1.46 GB, free: 4.859 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000764/1.125, allocations: 314.5 kB / 1.461 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.125, allocations: 11.92 kB / 1.461 GB, free: 4.535 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.125, allocations: 0 / 1.461 GB, free: 4.535 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/1.125, allocations: 0 / 1.461 GB, free: 4.535 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/1.127, allocations: 0.7762 MB / 1.461 GB, free: 3.688 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.127, allocations: 0 / 1.461 GB, free: 3.688 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/1.127, allocations: 35.97 kB / 1.461 GB, free: 3.652 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.127, allocations: 4.219 kB / 1.461 GB, free: 3.648 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/1.127, allocations: 15.94 kB / 1.461 GB, free: 3.633 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/1.127, allocations: 7.938 kB / 1.461 GB, free: 3.625 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.127, allocations: 4 kB / 1.461 GB, free: 3.621 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/1.128, allocations: 397.1 kB / 1.462 GB, free: 3.195 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/1.128, allocations: 63.7 kB / 1.462 GB, free: 3.133 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/1.128, allocations: 7.938 kB / 1.462 GB, free: 3.125 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/1.128, allocations: 15.98 kB / 1.462 GB, free: 3.109 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/1.128, allocations: 23.97 kB / 1.462 GB, free: 3.086 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/1.128, allocations: 8 kB / 1.462 GB, free: 3.078 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002326/1.128, allocations: 227 kB / 1.462 GB, free: 2.859 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.128, allocations: 0 / 1.462 GB, free: 2.859 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005211/1.129, allocations: 119.7 kB / 1.462 GB, free: 2.742 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.0005813/1.129, allocations: 228.5 kB / 1.462 GB, free: 2.512 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005445/1.13, allocations: 217 kB / 1.463 GB, free: 2.301 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.13, allocations: 0 / 1.463 GB, free: 2.301 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/1.13, allocations: 112.6 kB / 1.463 GB, free: 2.191 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008786/1.131, allocations: 167.3 kB / 1.463 GB, free: 2.031 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/1.132, allocations: 0.6205 MB / 1.463 GB, free: 1.363 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/1.133, allocations: 0.7834 MB / 1.464 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000268/1.133, allocations: 86.86 kB / 1.464 GB, free: 476 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.946e-05/1.133, allocations: 27.44 kB / 1.464 GB, free: 448 kB / 1.154 GB Notification: Performance of SimCode: time 4.31e-07/1.133, allocations: 0 / 1.464 GB, free: 448 kB / 1.154 GB Notification: Performance of Templates: time 0.01478/1.148, allocations: 7.448 MB / 1.472 GB, free: 9.078 MB / 1.17 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.461740903556347]