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.001551/0.001551, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001915/0.001915, allocations: 214.9 kB / 22.25 MB, free: 4.855 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.365/1.365, allocations: 230.6 MB / 256 MB, free: 7.801 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.912/2.912, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [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.001945/0.001945, allocations: 70.42 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1761/0.4816, allocations: 149.5 MB / 1.471 GB, free: 12.23 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008376/0.4899, allocations: 6.545 MB / 1.478 GB, free: 5.668 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000336/0.4903, allocations: 19.81 kB / 1.478 GB, free: 5.648 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000506/0.4908, allocations: 186.7 kB / 1.478 GB, free: 5.465 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.4937, allocations: 1.288 MB / 1.479 GB, free: 4.172 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.4953, allocations: 0.6565 MB / 1.48 GB, free: 3.52 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008558/0.4962, allocations: 0.7641 MB / 1.48 GB, free: 2.754 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.4966, allocations: 243.2 kB / 1.481 GB, free: 2.512 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.498, allocations: 0.7395 MB / 1.481 GB, free: 1.77 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007922/0.4988, allocations: 430.5 kB / 1.482 GB, free: 1.348 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.4988, allocations: 24 kB / 1.482 GB, free: 1.324 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.5006, allocations: 1.036 MB / 1.483 GB, free: 292 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.5007, allocations: 123.6 kB / 1.483 GB, free: 168 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.5009, allocations: 151.3 kB / 1.483 GB, free: 16 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.5021, allocations: 0.8645 MB / 1.484 GB, free: 15.15 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5021, allocations: 0 / 1.484 GB, free: 15.15 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5021, allocations: 0 / 1.484 GB, free: 15.15 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.5021, allocations: 0 / 1.484 GB, free: 15.15 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.0009471/0.503, allocations: 0.6407 MB / 1.484 GB, free: 14.48 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.5031, allocations: 8.031 kB / 1.484 GB, free: 14.47 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.855e-05/0.5032, allocations: 62.55 kB / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009224/0.5041, allocations: 131.6 kB / 1.485 GB, free: 14.27 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.5046, allocations: 283.5 kB / 1.485 GB, free: 13.96 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/0.5047, allocations: 76 kB / 1.485 GB, free: 13.88 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.5048, allocations: 28 kB / 1.485 GB, free: 13.85 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.5054, allocations: 400.9 kB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5054, allocations: 0 / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.5055, allocations: 12 kB / 1.485 GB, free: 13.42 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.5055, allocations: 8 kB / 1.485 GB, free: 13.41 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.506, allocations: 269.7 kB / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.5078, allocations: 1.14 MB / 1.487 GB, free: 11.95 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.5082, allocations: 190.4 kB / 1.487 GB, free: 11.75 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.5084, allocations: 108.8 kB / 1.487 GB, free: 11.64 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/0.5091, allocations: 139.8 kB / 1.487 GB, free: 11.5 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.5091, allocations: 34.55 kB / 1.487 GB, free: 11.46 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.5091, allocations: 4 kB / 1.487 GB, free: 11.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0008987/0.51, allocations: 353.2 kB / 1.488 GB, free: 11.11 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.5101, allocations: 59.33 kB / 1.488 GB, free: 11.04 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.5104, allocations: 316.5 kB / 1.488 GB, free: 10.72 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.5104, allocations: 25.7 kB / 1.488 GB, free: 10.69 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.5106, allocations: 192.3 kB / 1.488 GB, free: 10.5 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.5106, allocations: 55.52 kB / 1.488 GB, free: 10.44 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.5107, allocations: 49.66 kB / 1.488 GB, free: 10.39 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5109, allocations: 342.8 kB / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.511, allocations: 87.92 kB / 1.489 GB, free: 9.957 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.5113, allocations: 227 kB / 1.489 GB, free: 9.695 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.5118, allocations: 237.8 kB / 1.489 GB, free: 9.441 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5118, allocations: 0 / 1.489 GB, free: 9.441 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005861/0.5123, allocations: 286 kB / 1.489 GB, free: 9.156 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5124, allocations: 4 kB / 1.489 GB, free: 9.152 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.5124, allocations: 4.188 kB / 1.489 GB, free: 9.148 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5124, allocations: 4 kB / 1.489 GB, free: 9.145 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.5126, allocations: 43.91 kB / 1.489 GB, free: 9.102 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.5126, allocations: 4 kB / 1.489 GB, free: 9.098 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.5128, allocations: 31.77 kB / 1.489 GB, free: 9.066 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.5128, allocations: 15.94 kB / 1.49 GB, free: 9.051 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.0001578/0.513, allocations: 157.7 kB / 1.49 GB, free: 8.887 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.5131, allocations: 31.81 kB / 1.49 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006913/0.5138, allocations: 310.4 kB / 1.49 GB, free: 8.547 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5138, allocations: 4 kB / 1.49 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5138, allocations: 0 / 1.49 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5138, allocations: 3.984 kB / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.5151, allocations: 0.7528 MB / 1.491 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.5151, allocations: 4 kB / 1.491 GB, free: 7.711 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.5153, allocations: 31.92 kB / 1.491 GB, free: 7.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.5153, allocations: 7.938 kB / 1.491 GB, free: 7.672 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.5153, allocations: 8 kB / 1.491 GB, free: 7.664 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.5153, allocations: 7.984 kB / 1.491 GB, free: 7.656 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5153, allocations: 0 / 1.491 GB, free: 7.656 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/0.516, allocations: 401.3 kB / 1.491 GB, free: 7.227 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.5161, allocations: 59.72 kB / 1.491 GB, free: 7.168 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.5161, allocations: 7.938 kB / 1.491 GB, free: 7.16 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.5164, allocations: 19.98 kB / 1.491 GB, free: 7.141 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.5164, allocations: 19.97 kB / 1.491 GB, free: 7.121 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.5165, allocations: 8 kB / 1.491 GB, free: 7.113 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002212/0.5167, allocations: 231 kB / 1.491 GB, free: 6.887 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.5167, allocations: 0 / 1.491 GB, free: 6.887 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004584/0.5171, allocations: 123.8 kB / 1.492 GB, free: 6.766 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.001219/0.5184, allocations: 1.051 MB / 1.493 GB, free: 5.664 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.5188, allocations: 212.6 kB / 1.493 GB, free: 5.457 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5188, allocations: 0 / 1.493 GB, free: 5.457 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.5191, allocations: 120.2 kB / 1.493 GB, free: 5.34 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008367/0.5199, allocations: 160.4 kB / 1.493 GB, free: 5.188 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.5238, allocations: 3.055 MB / 1.496 GB, free: 1.977 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.524, allocations: 177.1 kB / 1.496 GB, free: 1.781 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.5243, allocations: 82.88 kB / 1.496 GB, free: 1.699 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.5244, allocations: 99.41 kB / 1.496 GB, free: 1.605 MB / 1.186 GB Notification: Performance of SimCode: time 4.61e-07/0.5244, allocations: 0 / 1.496 GB, free: 1.605 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.5634, allocations: 11.72 MB / 1.508 GB, free: 6.172 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.32, allocations: 15.19 kB / 1.508 GB, free: 6.164 MB / 1.201 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] 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: 17.36859363503754]