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.001338/0.001338, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.00148/0.00148, allocations: 157.1 kB / 23.01 MB, free: 4.598 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.431/1.431, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.874/2.874, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] 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.003308/0.003308, allocations: 72.17 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8954/0.8987, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.207/1.106, allocations: 149.5 MB / 1.333 GB, free: 324 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00965/1.115, allocations: 6.552 MB / 1.339 GB, free: 9.75 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/1.116, allocations: 23.75 kB / 1.339 GB, free: 9.727 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005645/1.116, allocations: 182.7 kB / 1.339 GB, free: 9.547 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003423/1.12, allocations: 1.292 MB / 1.34 GB, free: 8.25 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/1.122, allocations: 0.6569 MB / 1.341 GB, free: 7.598 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001071/1.123, allocations: 0.7642 MB / 1.342 GB, free: 6.828 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/1.123, allocations: 227 kB / 1.342 GB, free: 6.605 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/1.125, allocations: 0.7435 MB / 1.343 GB, free: 5.859 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009963/1.126, allocations: 442.4 kB / 1.343 GB, free: 5.426 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/1.126, allocations: 28 kB / 1.343 GB, free: 5.398 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/1.128, allocations: 1.04 MB / 1.344 GB, free: 4.355 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/1.128, allocations: 115.6 kB / 1.344 GB, free: 4.242 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/1.129, allocations: 147.3 kB / 1.345 GB, free: 4.098 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/1.13, allocations: 0.876 MB / 1.345 GB, free: 3.223 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.13, allocations: 0 / 1.345 GB, free: 3.223 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.104e-06/1.13, allocations: 3.938 kB / 1.345 GB, free: 3.219 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.826e-06/1.13, allocations: 0 / 1.345 GB, free: 3.219 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.001126/1.131, allocations: 0.6329 MB / 1.346 GB, free: 2.555 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.132, allocations: 12.03 kB / 1.346 GB, free: 2.543 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.133, allocations: 123.6 kB / 1.346 GB, free: 2.422 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/1.133, allocations: 276 kB / 1.346 GB, free: 2.129 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/1.133, allocations: 76.05 kB / 1.346 GB, free: 2.043 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/1.133, allocations: 28 kB / 1.347 GB, free: 2.016 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/1.134, allocations: 392.9 kB / 1.347 GB, free: 1.605 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.134, allocations: 4 kB / 1.347 GB, free: 1.602 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/1.134, allocations: 12 kB / 1.347 GB, free: 1.59 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.134, allocations: 8 kB / 1.347 GB, free: 1.582 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005658/1.135, allocations: 273.7 kB / 1.347 GB, free: 1.312 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/1.137, allocations: 1.078 MB / 1.348 GB, free: 192 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/1.137, allocations: 190.5 kB / 1.348 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/1.137, allocations: 108.7 kB / 1.349 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008026/1.138, allocations: 139.8 kB / 1.349 GB, free: 15.75 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.138, allocations: 38.56 kB / 1.349 GB, free: 15.7 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/1.138, allocations: 0 / 1.349 GB, free: 15.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.001002/1.139, allocations: 359.7 kB / 1.349 GB, free: 15.34 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/1.139, allocations: 51.41 kB / 1.349 GB, free: 15.28 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/1.139, allocations: 233.9 kB / 1.349 GB, free: 15.04 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.139, allocations: 25.7 kB / 1.349 GB, free: 15.01 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/1.14, allocations: 204.5 kB / 1.35 GB, free: 14.8 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/1.14, allocations: 51.53 kB / 1.35 GB, free: 14.75 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/1.14, allocations: 41.7 kB / 1.35 GB, free: 14.71 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.14, allocations: 334.8 kB / 1.35 GB, free: 14.37 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/1.14, allocations: 91.92 kB / 1.35 GB, free: 14.28 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/1.14, allocations: 219 kB / 1.35 GB, free: 14.03 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/1.141, allocations: 237.8 kB / 1.35 GB, free: 13.77 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/1.141, allocations: 4 kB / 1.35 GB, free: 13.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006488/1.141, allocations: 284.3 kB / 1.351 GB, free: 13.49 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.141, allocations: 4 kB / 1.351 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/1.141, allocations: 0 / 1.351 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.142, allocations: 4 kB / 1.351 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/1.142, allocations: 44.09 kB / 1.351 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.142, allocations: 8 kB / 1.351 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/1.142, allocations: 27.83 kB / 1.351 GB, free: 13.4 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/1.142, allocations: 12 kB / 1.351 GB, free: 13.39 MB / 1.201 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.0001765/1.142, allocations: 153.7 kB / 1.351 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/1.142, allocations: 19.86 kB / 1.351 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000803/1.143, allocations: 311.1 kB / 1.351 GB, free: 12.9 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.143, allocations: 8 kB / 1.351 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.143, allocations: 0 / 1.351 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.143, allocations: 0 / 1.351 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/1.144, allocations: 0.7143 MB / 1.352 GB, free: 12.12 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.144, allocations: 4.219 kB / 1.352 GB, free: 12.12 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/1.145, allocations: 43.91 kB / 1.352 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.145, allocations: 4 kB / 1.352 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/1.145, allocations: 4 kB / 1.352 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.145, allocations: 0 / 1.352 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.145, allocations: 7.938 kB / 1.352 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/1.145, allocations: 397.2 kB / 1.352 GB, free: 11.63 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.145, allocations: 51.77 kB / 1.352 GB, free: 11.58 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/1.146, allocations: 8 kB / 1.352 GB, free: 11.57 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/1.146, allocations: 15.98 kB / 1.352 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/1.146, allocations: 23.94 kB / 1.353 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/1.146, allocations: 11.94 kB / 1.353 GB, free: 11.52 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001619/1.146, allocations: 173.2 kB / 1.353 GB, free: 11.36 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/1.146, allocations: 0 / 1.353 GB, free: 11.36 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005533/1.147, allocations: 123.7 kB / 1.353 GB, free: 11.23 MB / 1.201 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.0004404/1.147, allocations: 207 kB / 1.353 GB, free: 11.02 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005259/1.148, allocations: 222.3 kB / 1.353 GB, free: 10.8 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.148, allocations: 0 / 1.353 GB, free: 10.8 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/1.148, allocations: 107.9 kB / 1.353 GB, free: 10.7 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/1.148, allocations: 106 kB / 1.353 GB, free: 10.6 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/1.15, allocations: 0.6009 MB / 1.354 GB, free: 9.957 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/1.15, allocations: 180.8 kB / 1.354 GB, free: 9.758 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002249/1.15, allocations: 74.12 kB / 1.354 GB, free: 9.688 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/1.15, allocations: 28.5 kB / 1.354 GB, free: 9.66 MB / 1.201 GB Notification: Performance of SimCode: time 4.91e-07/1.15, allocations: 0 / 1.354 GB, free: 9.66 MB / 1.201 GB Notification: Performance of Templates: time 0.01211/1.162, allocations: 5.922 MB / 1.36 GB, free: 3.844 MB / 1.201 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 -s ida -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: 9.499377425992861]