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.001309/0.001309, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001415/0.001415, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.436/1.436, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.107/3.107, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001959/0.001959, allocations: 67.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8012, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1947/0.9959, allocations: 170.2 MB / 1.44 GB, free: 9.699 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009212/1.005, allocations: 7.209 MB / 1.447 GB, free: 2.465 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/1.005, allocations: 11.94 kB / 1.447 GB, free: 2.453 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005575/1.006, allocations: 170.7 kB / 1.447 GB, free: 2.285 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003181/1.009, allocations: 1.307 MB / 1.449 GB, free: 0.9727 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/1.011, allocations: 0.6454 MB / 1.449 GB, free: 340 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001017/1.012, allocations: 0.7564 MB / 1.45 GB, free: 15.57 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/1.012, allocations: 245.5 kB / 1.45 GB, free: 15.34 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/1.013, allocations: 0.5838 MB / 1.451 GB, free: 14.75 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008652/1.014, allocations: 454.4 kB / 1.451 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/1.014, allocations: 24 kB / 1.451 GB, free: 14.28 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/1.017, allocations: 1.333 MB / 1.453 GB, free: 12.95 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/1.017, allocations: 127.6 kB / 1.453 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/1.017, allocations: 179.1 kB / 1.453 GB, free: 12.64 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/1.019, allocations: 0.8996 MB / 1.454 GB, free: 11.74 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.019, allocations: 3.938 kB / 1.454 GB, free: 11.74 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.442e-06/1.019, allocations: 0 / 1.454 GB, free: 11.74 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.019, allocations: 0 / 1.454 GB, free: 11.74 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.001085/1.02, allocations: 0.7081 MB / 1.455 GB, free: 10.98 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/1.02, allocations: 12.03 kB / 1.455 GB, free: 10.97 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/1.021, allocations: 131.6 kB / 1.455 GB, free: 10.84 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/1.021, allocations: 349.3 kB / 1.455 GB, free: 10.46 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.369e-05/1.021, allocations: 50.27 kB / 1.455 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/1.021, allocations: 24 kB / 1.455 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/1.022, allocations: 362.2 kB / 1.455 GB, free: 10.01 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/1.022, allocations: 11.92 kB / 1.455 GB, free: 9.996 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/1.022, allocations: 12 kB / 1.455 GB, free: 9.984 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.022, allocations: 8 kB / 1.455 GB, free: 9.977 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005557/1.023, allocations: 270 kB / 1.456 GB, free: 9.711 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.002057/1.025, allocations: 1.492 MB / 1.457 GB, free: 8.094 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/1.025, allocations: 186.5 kB / 1.457 GB, free: 7.902 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/1.025, allocations: 107.7 kB / 1.457 GB, free: 7.797 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.027, allocations: 0.5092 MB / 1.458 GB, free: 7.195 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/1.027, allocations: 30.56 kB / 1.458 GB, free: 7.156 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/1.027, allocations: 0 / 1.458 GB, free: 7.156 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.001008/1.028, allocations: 365.2 kB / 1.458 GB, free: 6.793 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/1.028, allocations: 55.34 kB / 1.458 GB, free: 6.727 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/1.028, allocations: 316.5 kB / 1.459 GB, free: 6.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/1.028, allocations: 25.7 kB / 1.459 GB, free: 6.379 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/1.028, allocations: 192.2 kB / 1.459 GB, free: 6.188 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/1.028, allocations: 47.55 kB / 1.459 GB, free: 6.141 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/1.028, allocations: 49.7 kB / 1.459 GB, free: 6.086 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.028, allocations: 342.8 kB / 1.459 GB, free: 5.742 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/1.029, allocations: 83.94 kB / 1.459 GB, free: 5.66 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/1.029, allocations: 141.9 kB / 1.46 GB, free: 5.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/1.029, allocations: 241.7 kB / 1.46 GB, free: 5.242 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.029, allocations: 4 kB / 1.46 GB, free: 5.238 MB / 1.154 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006335/1.03, allocations: 287.2 kB / 1.46 GB, free: 4.953 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.03, allocations: 4 kB / 1.46 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.03, allocations: 4 kB / 1.46 GB, free: 4.945 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.03, allocations: 3.938 kB / 1.46 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/1.03, allocations: 43.91 kB / 1.46 GB, free: 4.898 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/1.03, allocations: 8.188 kB / 1.46 GB, free: 4.891 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/1.031, allocations: 35.77 kB / 1.46 GB, free: 4.855 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/1.031, allocations: 12 kB / 1.46 GB, free: 4.844 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.0001704/1.031, allocations: 161.6 kB / 1.46 GB, free: 4.676 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/1.031, allocations: 35.8 kB / 1.46 GB, free: 4.641 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007325/1.032, allocations: 308.2 kB / 1.461 GB, free: 4.324 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/1.032, allocations: 4 kB / 1.461 GB, free: 4.32 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.032, allocations: 0 / 1.461 GB, free: 4.32 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.032, allocations: 0 / 1.461 GB, free: 4.32 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/1.033, allocations: 0.8083 MB / 1.461 GB, free: 3.434 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.033, allocations: 0 / 1.461 GB, free: 3.434 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/1.033, allocations: 39.92 kB / 1.461 GB, free: 3.395 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.033, allocations: 0 / 1.461 GB, free: 3.395 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/1.033, allocations: 11.92 kB / 1.461 GB, free: 3.383 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.033, allocations: 4 kB / 1.461 GB, free: 3.379 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.033, allocations: 4.219 kB / 1.461 GB, free: 3.375 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/1.034, allocations: 407.6 kB / 1.462 GB, free: 2.941 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/1.034, allocations: 129 kB / 1.462 GB, free: 2.797 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/1.034, allocations: 19.86 kB / 1.462 GB, free: 2.777 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/1.034, allocations: 11.98 kB / 1.462 GB, free: 2.766 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/1.034, allocations: 11.98 kB / 1.462 GB, free: 2.754 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/1.034, allocations: 16 kB / 1.462 GB, free: 2.738 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002344/1.035, allocations: 227 kB / 1.462 GB, free: 2.52 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.11e-07/1.035, allocations: 7.938 kB / 1.462 GB, free: 2.512 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005294/1.035, allocations: 127.6 kB / 1.462 GB, free: 2.387 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.0005683/1.036, allocations: 225.4 kB / 1.463 GB, free: 2.164 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005373/1.036, allocations: 211.7 kB / 1.463 GB, free: 1.957 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.036, allocations: 4 kB / 1.463 GB, free: 1.953 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/1.037, allocations: 115.8 kB / 1.463 GB, free: 1.84 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/1.037, allocations: 165.5 kB / 1.463 GB, free: 1.684 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/1.039, allocations: 0.6159 MB / 1.464 GB, free: 1.016 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/1.039, allocations: 0.7873 MB / 1.464 GB, free: 204 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002951/1.04, allocations: 82.8 kB / 1.465 GB, free: 120 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/1.04, allocations: 35.44 kB / 1.465 GB, free: 84 kB / 1.154 GB Notification: Performance of SimCode: time 5.61e-07/1.04, allocations: 0 / 1.465 GB, free: 84 kB / 1.154 GB Notification: Performance of Templates: time 0.01452/1.054, allocations: 7.395 MB / 1.472 GB, free: 8.77 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 -s gbode -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_2/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.198452744167298]