Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00151/0.00151, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001654/0.001654, allocations: 214.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.343/1.343, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.914/2.914, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001923/0.001923, allocations: 64.58 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2976, allocations: 180.2 MB / 1.354 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1832/0.4808, allocations: 173.1 MB / 1.523 GB, free: 10.18 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008323/0.4891, allocations: 7.223 MB / 1.53 GB, free: 2.941 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.4894, allocations: 19.81 kB / 1.53 GB, free: 2.922 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.4899, allocations: 174.7 kB / 1.53 GB, free: 2.75 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.4927, allocations: 1.338 MB / 1.532 GB, free: 1.406 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.4942, allocations: 0.6765 MB / 1.532 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0008584/0.4951, allocations: 0.7641 MB / 1.533 GB, free: 15.97 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.4955, allocations: 247 kB / 1.533 GB, free: 15.73 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.4969, allocations: 0.7356 MB / 1.534 GB, free: 14.99 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.4976, allocations: 462.5 kB / 1.535 GB, free: 14.54 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.4977, allocations: 24 kB / 1.535 GB, free: 14.51 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.4997, allocations: 1.36 MB / 1.536 GB, free: 13.15 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.4998, allocations: 115.6 kB / 1.536 GB, free: 13.04 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.5, allocations: 191 kB / 1.536 GB, free: 12.85 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.5012, allocations: 0.9073 MB / 1.537 GB, free: 11.94 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.5012, allocations: 0 / 1.537 GB, free: 11.94 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5012, allocations: 0 / 1.537 GB, free: 11.94 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.5012, allocations: 0 / 1.537 GB, free: 11.94 MB / 1.232 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.0009467/0.5022, allocations: 0.6368 MB / 1.538 GB, free: 11.27 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.5022, allocations: 8.031 kB / 1.538 GB, free: 11.26 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009286/0.5031, allocations: 131.6 kB / 1.538 GB, free: 11.13 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.5036, allocations: 275.5 kB / 1.538 GB, free: 10.84 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.5037, allocations: 80 kB / 1.538 GB, free: 10.75 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.5038, allocations: 24 kB / 1.538 GB, free: 10.72 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.5044, allocations: 371.3 kB / 1.539 GB, free: 10.34 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5044, allocations: 0 / 1.539 GB, free: 10.34 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.5044, allocations: 12 kB / 1.539 GB, free: 10.33 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.5044, allocations: 8 kB / 1.539 GB, free: 10.32 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.5049, allocations: 277.7 kB / 1.539 GB, free: 10.05 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.5067, allocations: 1.461 MB / 1.54 GB, free: 8.465 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.5071, allocations: 190.4 kB / 1.54 GB, free: 8.27 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.5073, allocations: 112.8 kB / 1.541 GB, free: 8.156 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007257/0.508, allocations: 127.9 kB / 1.541 GB, free: 8.031 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.5081, allocations: 46.55 kB / 1.541 GB, free: 7.977 MB / 1.232 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.5081, allocations: 3.938 kB / 1.541 GB, free: 7.973 MB / 1.232 GB Notification: Performance of matching and sorting (n=15): time 0.0008807/0.509, allocations: 346.8 kB / 1.541 GB, free: 7.629 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.509, allocations: 59.34 kB / 1.541 GB, free: 7.559 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.5093, allocations: 316.5 kB / 1.541 GB, free: 7.238 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.5093, allocations: 29.7 kB / 1.541 GB, free: 7.203 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.5095, allocations: 184.4 kB / 1.542 GB, free: 7.02 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.5095, allocations: 55.53 kB / 1.542 GB, free: 6.965 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.5096, allocations: 49.59 kB / 1.542 GB, free: 6.91 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5097, allocations: 338.8 kB / 1.542 GB, free: 6.57 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.5099, allocations: 91.86 kB / 1.542 GB, free: 6.48 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.5102, allocations: 144 kB / 1.542 GB, free: 6.32 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.5106, allocations: 241.8 kB / 1.542 GB, free: 6.062 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5106, allocations: 4 kB / 1.542 GB, free: 6.059 MB / 1.232 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005503/0.5111, allocations: 285 kB / 1.543 GB, free: 5.777 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5111, allocations: 12.03 kB / 1.543 GB, free: 5.766 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5111, allocations: 0 / 1.543 GB, free: 5.766 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5112, allocations: 4 kB / 1.543 GB, free: 5.762 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.5114, allocations: 43.92 kB / 1.543 GB, free: 5.719 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5114, allocations: 3.984 kB / 1.543 GB, free: 5.715 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.5116, allocations: 27.84 kB / 1.543 GB, free: 5.688 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.5116, allocations: 19.97 kB / 1.543 GB, free: 5.668 MB / 1.232 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.0001547/0.5118, allocations: 166.3 kB / 1.543 GB, free: 5.496 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/0.5119, allocations: 27.81 kB / 1.543 GB, free: 5.469 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006452/0.5125, allocations: 314.2 kB / 1.543 GB, free: 5.156 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5125, allocations: 0 / 1.543 GB, free: 5.156 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5125, allocations: 0 / 1.543 GB, free: 5.156 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5125, allocations: 4 kB / 1.543 GB, free: 5.152 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.5138, allocations: 0.7761 MB / 1.544 GB, free: 4.305 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5138, allocations: 4.219 kB / 1.544 GB, free: 4.301 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.514, allocations: 43.97 kB / 1.544 GB, free: 4.258 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.514, allocations: 0 / 1.544 GB, free: 4.258 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.514, allocations: 7.938 kB / 1.544 GB, free: 4.25 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.514, allocations: 7.938 kB / 1.544 GB, free: 4.242 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.514, allocations: 0 / 1.544 GB, free: 4.242 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.5146, allocations: 409 kB / 1.545 GB, free: 3.805 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.5147, allocations: 55.72 kB / 1.545 GB, free: 3.75 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.5147, allocations: 15.92 kB / 1.545 GB, free: 3.734 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.515, allocations: 15.98 kB / 1.545 GB, free: 3.719 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.515, allocations: 11.98 kB / 1.545 GB, free: 3.707 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.515, allocations: 11.98 kB / 1.545 GB, free: 3.695 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002099/0.5152, allocations: 227.1 kB / 1.545 GB, free: 3.477 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5152, allocations: 0 / 1.545 GB, free: 3.477 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004547/0.5157, allocations: 123.8 kB / 1.545 GB, free: 3.355 MB / 1.232 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.0004022/0.5161, allocations: 222.9 kB / 1.545 GB, free: 3.125 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004773/0.5166, allocations: 211.7 kB / 1.545 GB, free: 2.918 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5166, allocations: 0 / 1.545 GB, free: 2.918 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.5168, allocations: 112.6 kB / 1.546 GB, free: 2.809 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008001/0.5176, allocations: 162.7 kB / 1.546 GB, free: 2.648 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.5186, allocations: 0.6417 MB / 1.546 GB, free: 1.953 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.519, allocations: 0.7834 MB / 1.547 GB, free: 1.141 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.5191, allocations: 31.42 kB / 1.547 GB, free: 1.109 MB / 1.232 GB Notification: Performance of SimCode: time 2.9e-07/0.5191, allocations: 0 / 1.547 GB, free: 1.109 MB / 1.232 GB Notification: Performance of Templates: time 0.009144/0.5283, allocations: 6.335 MB / 1.553 GB, free: 10.82 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.33135757999844]