Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001198/0.001198, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008479/0.0008479, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.867/0.867, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.735/1.735, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.759e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6848/0.6848, allocations: 149.5 MB / 1.128 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005386/0.6902, allocations: 6.527 MB / 1.135 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.6905, allocations: 20.28 kB / 1.135 GB, free: 7.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.691, allocations: 183.1 kB / 1.135 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.6932, allocations: 1.318 MB / 1.136 GB, free: 6.867 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.6945, allocations: 0.7136 MB / 1.137 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.6951, allocations: 0.7475 MB / 1.137 GB, free: 6.168 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.6955, allocations: 231.9 kB / 1.138 GB, free: 6.062 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.6968, allocations: 0.8365 MB / 1.138 GB, free: 5.695 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006183/0.6974, allocations: 408.3 kB / 1.139 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.6974, allocations: 26.12 kB / 1.139 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.699, allocations: 1.06 MB / 1.14 GB, free: 5.172 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.6991, allocations: 124.7 kB / 1.14 GB, free: 5.113 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.6992, allocations: 123.2 kB / 1.14 GB, free: 5.066 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.7004, allocations: 0.9283 MB / 1.141 GB, free: 4.758 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7004, allocations: 0 / 1.141 GB, free: 4.758 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7004, allocations: 1.312 kB / 1.141 GB, free: 4.758 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.7004, allocations: 0 / 1.141 GB, free: 4.758 MB / 0.9948 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.0007141/0.7011, allocations: 0.6303 MB / 1.142 GB, free: 4.273 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7011, allocations: 10 kB / 1.142 GB, free: 4.273 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.7017, allocations: 125 kB / 1.142 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.7021, allocations: 283.7 kB / 1.142 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.7021, allocations: 74.88 kB / 1.142 GB, free: 3.965 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.7022, allocations: 25.84 kB / 1.142 GB, free: 3.957 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.7027, allocations: 400.5 kB / 1.143 GB, free: 3.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.7027, allocations: 5.859 kB / 1.143 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.7027, allocations: 10.19 kB / 1.143 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.7027, allocations: 7.438 kB / 1.143 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.7031, allocations: 269 kB / 1.143 GB, free: 3.656 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.7042, allocations: 1.065 MB / 1.144 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.7045, allocations: 190.6 kB / 1.144 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.7047, allocations: 105.9 kB / 1.144 GB, free: 2.793 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004387/0.7051, allocations: 143.9 kB / 1.144 GB, free: 2.773 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.7051, allocations: 35.91 kB / 1.144 GB, free: 2.73 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/0.7051, allocations: 0 / 1.144 GB, free: 2.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0006548/0.7058, allocations: 356 kB / 1.145 GB, free: 2.605 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.7058, allocations: 58.39 kB / 1.145 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.706, allocations: 231 kB / 1.145 GB, free: 2.406 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.706, allocations: 31.58 kB / 1.145 GB, free: 2.371 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.7061, allocations: 197.1 kB / 1.145 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.7061, allocations: 61.67 kB / 1.145 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.7062, allocations: 43.41 kB / 1.145 GB, free: 2.129 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.7062, allocations: 331.6 kB / 1.146 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.7064, allocations: 92.62 kB / 1.146 GB, free: 1.781 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.7065, allocations: 220.5 kB / 1.146 GB, free: 1.605 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.7068, allocations: 234.1 kB / 1.146 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7068, allocations: 5.125 kB / 1.146 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003765/0.7072, allocations: 278 kB / 1.146 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7072, allocations: 10.12 kB / 1.146 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7072, allocations: 1.094 kB / 1.146 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7072, allocations: 3.641 kB / 1.146 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.7074, allocations: 38.5 kB / 1.146 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7074, allocations: 10.62 kB / 1.146 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.7075, allocations: 22.81 kB / 1.146 GB, free: 1.352 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.7075, allocations: 10.78 kB / 1.146 GB, free: 1.352 MB / 0.9948 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 9.48e-05/0.7076, allocations: 150.1 kB / 1.147 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.7076, allocations: 22.05 kB / 1.147 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.7081, allocations: 315.3 kB / 1.147 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.7081, allocations: 6.125 kB / 1.147 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.7081, allocations: 0 / 1.147 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.7081, allocations: 1.812 kB / 1.147 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007629/0.7089, allocations: 0.7091 MB / 1.148 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.7089, allocations: 5.406 kB / 1.148 GB, free: 0.6367 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.709, allocations: 33.38 kB / 1.148 GB, free: 0.6367 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.709, allocations: 2.906 kB / 1.148 GB, free: 0.6367 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.709, allocations: 8.484 kB / 1.148 GB, free: 0.6328 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.709, allocations: 2.594 kB / 1.148 GB, free: 0.6328 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.709, allocations: 10.34 kB / 1.148 GB, free: 0.6289 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.7094, allocations: 395.3 kB / 1.148 GB, free: 376 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.7095, allocations: 57.05 kB / 1.148 GB, free: 344 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.7095, allocations: 8.281 kB / 1.148 GB, free: 340 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.7096, allocations: 20.52 kB / 1.148 GB, free: 332 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.7097, allocations: 16.31 kB / 1.148 GB, free: 328 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.7097, allocations: 14.83 kB / 1.148 GB, free: 324 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001093/0.7098, allocations: 162.7 kB / 1.148 GB, free: 224 kB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.7098, allocations: 0 / 1.148 GB, free: 224 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003665/0.7102, allocations: 132.7 kB / 1.148 GB, free: 188 kB / 0.9948 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.0003822/0.7105, allocations: 229.2 kB / 1.149 GB, free: 52 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004068/0.711, allocations: 219.2 kB / 1.149 GB, free: 15.99 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.711, allocations: 0 / 1.149 GB, free: 15.99 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.7111, allocations: 112.8 kB / 1.149 GB, free: 15.96 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.7116, allocations: 103.6 kB / 1.149 GB, free: 15.93 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008645/0.7124, allocations: 0.613 MB / 1.15 GB, free: 15.52 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.7126, allocations: 178.6 kB / 1.15 GB, free: 15.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.7127, allocations: 28.77 kB / 1.15 GB, free: 15.42 MB / 1.01 GB Notification: Performance of SimCode: time 1.052e-06/0.7127, allocations: 0 / 1.15 GB, free: 15.42 MB / 1.01 GB Notification: Performance of Templates: time 0.007671/0.7203, allocations: 5.718 MB / 1.156 GB, free: 14.78 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.394388490356505]