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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 112.2 kB / 17.08 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 195.6 kB / 20.03 MB, free: 3.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 489.2 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.88 kB / 1.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9065/0.9084, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2059/1.114, allocations: 169.5 MB / 1.428 GB, free: 9.523 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009835/1.124, allocations: 7.142 MB / 1.435 GB, free: 3.742 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006407/1.125, allocations: 15.34 kB / 1.435 GB, free: 3.734 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006484/1.126, allocations: 174.7 kB / 1.435 GB, free: 3.582 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00376/1.129, allocations: 1.254 MB / 1.436 GB, free: 2.645 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/1.131, allocations: 0.6299 MB / 1.437 GB, free: 2.188 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001199/1.133, allocations: 0.7488 MB / 1.438 GB, free: 1.754 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005972/1.133, allocations: 303.5 kB / 1.438 GB, free: 1.57 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/1.135, allocations: 0.7 MB / 1.439 GB, free: 1.133 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/1.136, allocations: 421 kB / 1.439 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-05/1.136, allocations: 25.34 kB / 1.439 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/1.139, allocations: 1.232 MB / 1.44 GB, free: 208 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/1.139, allocations: 119.6 kB / 1.441 GB, free: 124 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003186/1.139, allocations: 180.4 kB / 1.441 GB, free: 8 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/1.141, allocations: 0.9006 MB / 1.442 GB, free: 15.46 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.141, allocations: 0 / 1.442 GB, free: 15.46 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.473e-06/1.141, allocations: 0 / 1.442 GB, free: 15.46 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.396e-05/1.141, allocations: 0 / 1.442 GB, free: 15.46 MB / 1.139 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.001362/1.143, allocations: 0.7177 MB / 1.442 GB, free: 14.83 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.143, allocations: 13.88 kB / 1.442 GB, free: 14.83 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/1.144, allocations: 129.1 kB / 1.442 GB, free: 14.77 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/1.145, allocations: 348.7 kB / 1.443 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/1.145, allocations: 51.47 kB / 1.443 GB, free: 14.4 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/1.145, allocations: 27.03 kB / 1.443 GB, free: 14.39 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006967/1.145, allocations: 369.9 kB / 1.443 GB, free: 14.15 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.145, allocations: 0 / 1.443 GB, free: 14.15 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/1.146, allocations: 18.69 kB / 1.443 GB, free: 14.13 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/1.146, allocations: 6.875 kB / 1.443 GB, free: 14.13 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005485/1.146, allocations: 275.6 kB / 1.443 GB, free: 14 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/1.148, allocations: 1.482 MB / 1.445 GB, free: 12.65 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/1.149, allocations: 197.8 kB / 1.445 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/1.149, allocations: 120.2 kB / 1.445 GB, free: 12.48 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009911/1.15, allocations: 0.4991 MB / 1.446 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/1.15, allocations: 31.94 kB / 1.446 GB, free: 11.92 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/1.15, allocations: 1.656 kB / 1.446 GB, free: 11.92 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.001016/1.151, allocations: 360.5 kB / 1.446 GB, free: 11.74 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/1.151, allocations: 53.94 kB / 1.446 GB, free: 11.68 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/1.151, allocations: 319.6 kB / 1.446 GB, free: 11.47 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/1.151, allocations: 27.02 kB / 1.446 GB, free: 11.44 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/1.152, allocations: 197.2 kB / 1.447 GB, free: 11.26 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/1.152, allocations: 54.73 kB / 1.447 GB, free: 11.21 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.152, allocations: 45.7 kB / 1.447 GB, free: 11.16 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.152, allocations: 342.8 kB / 1.447 GB, free: 10.81 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/1.152, allocations: 87.92 kB / 1.447 GB, free: 10.73 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/1.152, allocations: 139.8 kB / 1.447 GB, free: 10.57 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/1.153, allocations: 245.8 kB / 1.448 GB, free: 10.31 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.153, allocations: 3.938 kB / 1.448 GB, free: 10.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006178/1.154, allocations: 285.2 kB / 1.448 GB, free: 10.02 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.154, allocations: 6.188 kB / 1.448 GB, free: 10.02 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.154, allocations: 7.938 kB / 1.448 GB, free: 10.01 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.154, allocations: 0 / 1.448 GB, free: 10.01 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/1.154, allocations: 39.92 kB / 1.448 GB, free: 9.969 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.154, allocations: 7.984 kB / 1.448 GB, free: 9.961 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/1.154, allocations: 28.03 kB / 1.448 GB, free: 9.934 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/1.154, allocations: 15.98 kB / 1.448 GB, free: 9.918 MB / 1.139 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.0001736/1.154, allocations: 153.7 kB / 1.448 GB, free: 9.758 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/1.154, allocations: 31.81 kB / 1.448 GB, free: 9.727 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007324/1.155, allocations: 312.1 kB / 1.448 GB, free: 9.41 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.155, allocations: 11.98 kB / 1.448 GB, free: 9.398 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.155, allocations: 0 / 1.448 GB, free: 9.398 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.155, allocations: 0 / 1.448 GB, free: 9.398 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/1.157, allocations: 0.8005 MB / 1.449 GB, free: 8.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.157, allocations: 4 kB / 1.449 GB, free: 8.516 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/1.157, allocations: 39.97 kB / 1.449 GB, free: 8.477 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/1.157, allocations: 0 / 1.449 GB, free: 8.477 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/1.157, allocations: 11.88 kB / 1.449 GB, free: 8.465 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.157, allocations: 4 kB / 1.449 GB, free: 8.461 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.157, allocations: 7.984 kB / 1.449 GB, free: 8.453 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/1.158, allocations: 411.7 kB / 1.45 GB, free: 8.016 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/1.158, allocations: 136.9 kB / 1.45 GB, free: 7.863 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/1.158, allocations: 3.938 kB / 1.45 GB, free: 7.859 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/1.158, allocations: 15.98 kB / 1.45 GB, free: 7.844 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/1.158, allocations: 15.98 kB / 1.45 GB, free: 7.828 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/1.158, allocations: 15.98 kB / 1.45 GB, free: 7.812 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002486/1.158, allocations: 227.1 kB / 1.45 GB, free: 7.594 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.3e-07/1.158, allocations: 0 / 1.45 GB, free: 7.594 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006103/1.159, allocations: 123.7 kB / 1.45 GB, free: 7.473 MB / 1.139 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.0007137/1.16, allocations: 231.5 kB / 1.45 GB, free: 7.242 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000592/1.16, allocations: 224 kB / 1.451 GB, free: 7.023 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.16, allocations: 0 / 1.451 GB, free: 7.023 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/1.161, allocations: 119.8 kB / 1.451 GB, free: 6.906 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/1.162, allocations: 166.1 kB / 1.451 GB, free: 6.75 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/1.163, allocations: 0.6295 MB / 1.451 GB, free: 6.066 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/1.163, allocations: 0.7873 MB / 1.452 GB, free: 5.254 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/1.163, allocations: 31.42 kB / 1.452 GB, free: 5.223 MB / 1.139 GB Notification: Performance of SimCode: time 2.01e-07/1.163, allocations: 0 / 1.452 GB, free: 5.223 MB / 1.139 GB Notification: Performance of Templates: time 0.01078/1.174, allocations: 6.282 MB / 1.458 GB, free: 14.99 MB / 1.154 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_2/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: 12.493782823905349]