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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 489.7 MB / 0.7761 GB, free: 2.418 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=502,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=502,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 71.89 kB / 1.127 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9661/0.968, allocations: 172 MB / 1.295 GB, free: 38.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1837/1.152, allocations: 170 MB / 1.461 GB, free: 11.17 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01029/1.162, allocations: 7.166 MB / 1.468 GB, free: 6.07 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006081/1.163, allocations: 11.66 kB / 1.468 GB, free: 6.066 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006523/1.163, allocations: 175.8 kB / 1.468 GB, free: 5.949 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004258/1.167, allocations: 1.3 MB / 1.469 GB, free: 5.285 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/1.17, allocations: 0.6479 MB / 1.47 GB, free: 4.961 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001351/1.171, allocations: 0.7462 MB / 1.471 GB, free: 4.633 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006136/1.172, allocations: 256.1 kB / 1.471 GB, free: 4.523 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/1.174, allocations: 0.7334 MB / 1.472 GB, free: 4.191 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/1.175, allocations: 446.8 kB / 1.472 GB, free: 4.012 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/1.175, allocations: 26.03 kB / 1.472 GB, free: 4.012 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/1.178, allocations: 1.32 MB / 1.473 GB, free: 3.508 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002372/1.179, allocations: 121.5 kB / 1.474 GB, free: 3.453 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003653/1.179, allocations: 177 kB / 1.474 GB, free: 3.352 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/1.182, allocations: 0.9083 MB / 1.475 GB, free: 3.047 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.182, allocations: 4 kB / 1.475 GB, free: 3.043 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/1.182, allocations: 3.938 kB / 1.475 GB, free: 3.039 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.589e-05/1.182, allocations: 1.094 kB / 1.475 GB, free: 3.039 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.001551/1.183, allocations: 0.7014 MB / 1.475 GB, free: 2.469 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.183, allocations: 8.438 kB / 1.475 GB, free: 2.469 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/1.184, allocations: 129.8 kB / 1.475 GB, free: 2.438 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007049/1.185, allocations: 355.8 kB / 1.476 GB, free: 2.148 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/1.185, allocations: 51.22 kB / 1.476 GB, free: 2.105 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/1.185, allocations: 27.47 kB / 1.476 GB, free: 2.098 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007779/1.186, allocations: 368.6 kB / 1.476 GB, free: 1.918 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/1.186, allocations: 0 / 1.476 GB, free: 1.918 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/1.186, allocations: 11.22 kB / 1.476 GB, free: 1.91 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.186, allocations: 6.312 kB / 1.476 GB, free: 1.91 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/1.187, allocations: 275 kB / 1.476 GB, free: 1.777 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/1.189, allocations: 1.495 MB / 1.478 GB, free: 424 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/1.189, allocations: 184.9 kB / 1.478 GB, free: 320 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/1.19, allocations: 112.1 kB / 1.478 GB, free: 260 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/1.191, allocations: 0.5031 MB / 1.479 GB, free: 15.73 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/1.191, allocations: 41.44 kB / 1.479 GB, free: 15.69 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/1.191, allocations: 0 / 1.479 GB, free: 15.69 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.001014/1.192, allocations: 355 kB / 1.479 GB, free: 15.51 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/1.192, allocations: 52.5 kB / 1.479 GB, free: 15.45 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/1.192, allocations: 316.7 kB / 1.479 GB, free: 15.24 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/1.192, allocations: 34.83 kB / 1.479 GB, free: 15.2 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/1.192, allocations: 186 kB / 1.48 GB, free: 15.03 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/1.192, allocations: 57.92 kB / 1.48 GB, free: 14.98 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/1.192, allocations: 47.62 kB / 1.48 GB, free: 14.95 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.193, allocations: 337.2 kB / 1.48 GB, free: 14.61 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/1.193, allocations: 85.3 kB / 1.48 GB, free: 14.57 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/1.193, allocations: 144.8 kB / 1.48 GB, free: 14.47 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/1.194, allocations: 247.1 kB / 1.481 GB, free: 14.3 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.194, allocations: 1.125 kB / 1.481 GB, free: 14.3 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000636/1.194, allocations: 279.2 kB / 1.481 GB, free: 14.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.194, allocations: 7.625 kB / 1.481 GB, free: 14.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.194, allocations: 6.156 kB / 1.481 GB, free: 14.15 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.194, allocations: 2.562 kB / 1.481 GB, free: 14.15 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/1.194, allocations: 50.88 kB / 1.481 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/1.194, allocations: 3.375 kB / 1.481 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/1.195, allocations: 34.58 kB / 1.481 GB, free: 14.11 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/1.195, allocations: 13.12 kB / 1.481 GB, free: 14.11 MB / 1.17 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.0001929/1.195, allocations: 151.7 kB / 1.481 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.195, allocations: 33.44 kB / 1.481 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007249/1.196, allocations: 309.9 kB / 1.481 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/1.196, allocations: 1.344 kB / 1.481 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.196, allocations: 1.062 kB / 1.481 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/1.196, allocations: 7.922 kB / 1.481 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/1.197, allocations: 0.8024 MB / 1.482 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.197, allocations: 2.469 kB / 1.482 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/1.198, allocations: 42.5 kB / 1.482 GB, free: 13.1 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.198, allocations: 3.094 kB / 1.482 GB, free: 13.1 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/1.198, allocations: 11.28 kB / 1.482 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.198, allocations: 3.406 kB / 1.482 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.198, allocations: 2.438 kB / 1.482 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/1.198, allocations: 398.1 kB / 1.483 GB, free: 12.79 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/1.198, allocations: 135.6 kB / 1.483 GB, free: 12.65 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/1.198, allocations: 11.25 kB / 1.483 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/1.199, allocations: 16.92 kB / 1.483 GB, free: 12.64 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/1.199, allocations: 18.52 kB / 1.483 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.199, allocations: 12.23 kB / 1.483 GB, free: 12.62 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002649/1.199, allocations: 226.6 kB / 1.483 GB, free: 12.47 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.199, allocations: 1.344 kB / 1.483 GB, free: 12.47 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000679/1.2, allocations: 119.3 kB / 1.483 GB, free: 12.45 MB / 1.17 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.000738/1.201, allocations: 239.7 kB / 1.483 GB, free: 12.28 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005768/1.201, allocations: 218 kB / 1.484 GB, free: 12.18 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.201, allocations: 0 / 1.484 GB, free: 12.18 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/1.201, allocations: 112.7 kB / 1.484 GB, free: 12.13 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009307/1.202, allocations: 179.5 kB / 1.484 GB, free: 12.03 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/1.204, allocations: 0.6317 MB / 1.484 GB, free: 11.57 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/1.204, allocations: 0.7833 MB / 1.485 GB, free: 10.83 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/1.204, allocations: 31.81 kB / 1.485 GB, free: 10.82 MB / 1.17 GB Notification: Performance of SimCode: time 9.12e-07/1.204, allocations: 1.094 kB / 1.485 GB, free: 10.82 MB / 1.17 GB Notification: Performance of Templates: time 0.01203/1.216, allocations: 6.295 MB / 1.491 GB, free: 7.562 MB / 1.17 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 400] 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