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.00156/0.00156, allocations: 116.1 kB / 17.13 MB, free: 5.945 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.00164/0.00164, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.463/1.463, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.854/2.854, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002113/0.002113, allocations: 71.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9943, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2049/1.199, allocations: 172.9 MB / 1.491 GB, free: 9.141 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009342/1.209, allocations: 7.188 MB / 1.498 GB, free: 3.336 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005051/1.209, allocations: 19.53 kB / 1.498 GB, free: 3.324 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005617/1.21, allocations: 171.2 kB / 1.498 GB, free: 3.176 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00342/1.213, allocations: 1.303 MB / 1.499 GB, free: 2.211 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/1.215, allocations: 0.6466 MB / 1.5 GB, free: 1.738 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001061/1.216, allocations: 0.7568 MB / 1.501 GB, free: 1.301 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/1.216, allocations: 245.5 kB / 1.501 GB, free: 1.148 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/1.218, allocations: 0.7459 MB / 1.502 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008407/1.219, allocations: 446.8 kB / 1.502 GB, free: 432 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/1.219, allocations: 25.22 kB / 1.502 GB, free: 432 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/1.221, allocations: 1.326 MB / 1.503 GB, free: 15.47 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/1.221, allocations: 119.6 kB / 1.504 GB, free: 15.36 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/1.222, allocations: 179.1 kB / 1.504 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/1.223, allocations: 0.9101 MB / 1.505 GB, free: 14.27 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/1.223, allocations: 0 / 1.505 GB, free: 14.27 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.333e-06/1.223, allocations: 0 / 1.505 GB, free: 14.27 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.223, allocations: 0 / 1.505 GB, free: 14.27 MB / 1.186 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.001067/1.224, allocations: 0.712 MB / 1.505 GB, free: 13.51 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/1.224, allocations: 11.98 kB / 1.505 GB, free: 13.5 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/1.225, allocations: 135.6 kB / 1.505 GB, free: 13.36 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005218/1.226, allocations: 337.4 kB / 1.506 GB, free: 12.99 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/1.226, allocations: 46.27 kB / 1.506 GB, free: 12.94 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/1.226, allocations: 31.98 kB / 1.506 GB, free: 12.91 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006743/1.227, allocations: 366.1 kB / 1.506 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.227, allocations: 4 kB / 1.506 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/1.227, allocations: 8 kB / 1.506 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/1.227, allocations: 8 kB / 1.506 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/1.227, allocations: 278 kB / 1.506 GB, free: 12.24 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/1.229, allocations: 1.496 MB / 1.508 GB, free: 10.62 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/1.23, allocations: 182.5 kB / 1.508 GB, free: 10.43 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/1.23, allocations: 124.8 kB / 1.508 GB, free: 10.31 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009735/1.231, allocations: 0.5014 MB / 1.509 GB, free: 9.715 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/1.231, allocations: 34.55 kB / 1.509 GB, free: 9.672 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/1.231, allocations: 0 / 1.509 GB, free: 9.672 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.001009/1.232, allocations: 357.2 kB / 1.509 GB, free: 9.316 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/1.232, allocations: 59.41 kB / 1.509 GB, free: 9.246 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/1.232, allocations: 312.5 kB / 1.509 GB, free: 8.934 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/1.232, allocations: 33.69 kB / 1.509 GB, free: 8.895 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/1.232, allocations: 184.3 kB / 1.51 GB, free: 8.711 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/1.232, allocations: 59.52 kB / 1.51 GB, free: 8.652 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/1.233, allocations: 45.66 kB / 1.51 GB, free: 8.602 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.233, allocations: 338.8 kB / 1.51 GB, free: 8.262 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/1.233, allocations: 87.92 kB / 1.51 GB, free: 8.176 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/1.233, allocations: 145.9 kB / 1.51 GB, free: 8.012 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/1.234, allocations: 238.6 kB / 1.51 GB, free: 7.758 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.234, allocations: 0 / 1.51 GB, free: 7.758 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006255/1.234, allocations: 293.2 kB / 1.511 GB, free: 7.465 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.234, allocations: 4 kB / 1.511 GB, free: 7.461 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.234, allocations: 4 kB / 1.511 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.234, allocations: 0 / 1.511 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/1.235, allocations: 43.91 kB / 1.511 GB, free: 7.414 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.235, allocations: 4 kB / 1.511 GB, free: 7.41 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/1.235, allocations: 27.83 kB / 1.511 GB, free: 7.383 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/1.235, allocations: 16 kB / 1.511 GB, free: 7.367 MB / 1.186 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.0001644/1.235, allocations: 157.8 kB / 1.511 GB, free: 7.203 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/1.235, allocations: 31.81 kB / 1.511 GB, free: 7.172 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007513/1.236, allocations: 311 kB / 1.511 GB, free: 6.859 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.236, allocations: 4 kB / 1.511 GB, free: 6.855 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.236, allocations: 0 / 1.511 GB, free: 6.855 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.236, allocations: 3.984 kB / 1.511 GB, free: 6.852 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/1.237, allocations: 0.8047 MB / 1.512 GB, free: 5.969 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.237, allocations: 3.938 kB / 1.512 GB, free: 5.965 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/1.237, allocations: 40 kB / 1.512 GB, free: 5.926 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.237, allocations: 7.938 kB / 1.512 GB, free: 5.918 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/1.238, allocations: 11.94 kB / 1.512 GB, free: 5.906 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.238, allocations: 4 kB / 1.512 GB, free: 5.902 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.238, allocations: 4 kB / 1.512 GB, free: 5.898 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/1.238, allocations: 397.2 kB / 1.513 GB, free: 5.473 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/1.238, allocations: 140.8 kB / 1.513 GB, free: 5.316 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/1.238, allocations: 11.94 kB / 1.513 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/1.239, allocations: 15.98 kB / 1.513 GB, free: 5.289 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/1.239, allocations: 19.92 kB / 1.513 GB, free: 5.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/1.239, allocations: 11.98 kB / 1.513 GB, free: 5.258 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002385/1.239, allocations: 227 kB / 1.513 GB, free: 5.039 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.239, allocations: 0 / 1.513 GB, free: 5.039 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005317/1.239, allocations: 115.8 kB / 1.513 GB, free: 4.926 MB / 1.186 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.0004984/1.24, allocations: 224.2 kB / 1.513 GB, free: 4.695 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005394/1.241, allocations: 211.7 kB / 1.514 GB, free: 4.488 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.241, allocations: 0 / 1.514 GB, free: 4.488 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/1.241, allocations: 116.6 kB / 1.514 GB, free: 4.375 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/1.242, allocations: 168.2 kB / 1.514 GB, free: 4.215 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/1.243, allocations: 0.641 MB / 1.514 GB, free: 3.52 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/1.243, allocations: 0.7834 MB / 1.515 GB, free: 2.707 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/1.243, allocations: 31.44 kB / 1.515 GB, free: 2.676 MB / 1.186 GB Notification: Performance of SimCode: time 7.02e-07/1.243, allocations: 0 / 1.515 GB, free: 2.676 MB / 1.186 GB Notification: Performance of Templates: time 0.009975/1.253, allocations: 6.341 MB / 1.521 GB, free: 12.39 MB / 1.201 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/jenkins1/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: 12.739464382000733]