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.001269/0.001269, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001453/0.001453, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.316/1.316, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 179] 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.86/2.86, allocations: 0.49 GB / 0.7951 GB, free: 33.5 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.001874/0.001874, allocations: 65.86 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2869, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1838/0.4707, allocations: 173.1 MB / 1.495 GB, free: 4.156 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008651/0.4794, allocations: 7.246 MB / 1.502 GB, free: 12.89 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.4797, allocations: 19.81 kB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.4803, allocations: 174.7 kB / 1.502 GB, free: 12.7 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.4834, allocations: 1.334 MB / 1.504 GB, free: 11.36 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.4853, allocations: 0.6645 MB / 1.504 GB, free: 10.7 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001035/0.4863, allocations: 0.7641 MB / 1.505 GB, free: 9.934 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004421/0.4868, allocations: 243.1 kB / 1.505 GB, free: 9.691 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.4883, allocations: 0.7435 MB / 1.506 GB, free: 8.945 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008781/0.4892, allocations: 454.4 kB / 1.506 GB, free: 8.5 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.269e-05/0.4893, allocations: 32 kB / 1.506 GB, free: 8.469 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.4915, allocations: 1.36 MB / 1.508 GB, free: 7.105 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.4916, allocations: 115.6 kB / 1.508 GB, free: 6.992 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.4918, allocations: 187.1 kB / 1.508 GB, free: 6.809 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.4934, allocations: 0.9034 MB / 1.509 GB, free: 5.902 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4934, allocations: 4 kB / 1.509 GB, free: 5.898 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4934, allocations: 0 / 1.509 GB, free: 5.898 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.4934, allocations: 0 / 1.509 GB, free: 5.898 MB / 1.201 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.001071/0.4945, allocations: 0.6368 MB / 1.509 GB, free: 5.23 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4945, allocations: 16.02 kB / 1.51 GB, free: 5.215 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.875e-05/0.4946, allocations: 58.55 kB / 1.51 GB, free: 5.148 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009496/0.4955, allocations: 127.6 kB / 1.51 GB, free: 5.023 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.496, allocations: 283.4 kB / 1.51 GB, free: 4.719 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-05/0.4961, allocations: 80.05 kB / 1.51 GB, free: 4.629 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.4961, allocations: 28 kB / 1.51 GB, free: 4.602 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.4968, allocations: 359.3 kB / 1.51 GB, free: 4.23 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4968, allocations: 4 kB / 1.51 GB, free: 4.227 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.4968, allocations: 12 kB / 1.51 GB, free: 4.215 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.4968, allocations: 4 kB / 1.51 GB, free: 4.211 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/0.4973, allocations: 285.6 kB / 1.511 GB, free: 3.934 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.4992, allocations: 1.445 MB / 1.512 GB, free: 2.363 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.4996, allocations: 198.4 kB / 1.512 GB, free: 2.16 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.4998, allocations: 108.8 kB / 1.512 GB, free: 2.051 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007517/0.5006, allocations: 139.8 kB / 1.513 GB, free: 1.914 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.5006, allocations: 30.56 kB / 1.513 GB, free: 1.875 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.5006, allocations: 0 / 1.513 GB, free: 1.875 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0009394/0.5015, allocations: 361.2 kB / 1.513 GB, free: 1.516 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.5016, allocations: 55.34 kB / 1.513 GB, free: 1.449 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.5019, allocations: 316.5 kB / 1.513 GB, free: 1.133 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.502, allocations: 29.7 kB / 1.513 GB, free: 1.098 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.5021, allocations: 184.4 kB / 1.513 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.5021, allocations: 59.45 kB / 1.514 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.5022, allocations: 45.64 kB / 1.514 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5024, allocations: 350.7 kB / 1.514 GB, free: 464 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.5026, allocations: 87.89 kB / 1.514 GB, free: 376 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.5028, allocations: 145.9 kB / 1.514 GB, free: 208 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.5032, allocations: 229.9 kB / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5033, allocations: 0 / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000584/0.5038, allocations: 289.2 kB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5039, allocations: 5.562 kB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5039, allocations: 4 kB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5039, allocations: 4 kB / 1.515 GB, free: 15.65 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.5041, allocations: 43.91 kB / 1.515 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.5041, allocations: 4.188 kB / 1.515 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.5043, allocations: 39.66 kB / 1.515 GB, free: 15.57 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.5043, allocations: 8 kB / 1.515 GB, free: 15.56 MB / 1.217 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.0001626/0.5045, allocations: 165.7 kB / 1.515 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.5046, allocations: 27.81 kB / 1.515 GB, free: 15.36 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000677/0.5053, allocations: 318 kB / 1.515 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5053, allocations: 0 / 1.515 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5053, allocations: 0 / 1.515 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5053, allocations: 0 / 1.515 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.5066, allocations: 0.784 MB / 1.516 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5066, allocations: 4 kB / 1.516 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.5068, allocations: 27.98 kB / 1.516 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.5068, allocations: 7.938 kB / 1.516 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.5068, allocations: 4 kB / 1.516 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.5068, allocations: 7.938 kB / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5068, allocations: 3.984 kB / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.5074, allocations: 413.3 kB / 1.516 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.5075, allocations: 59.72 kB / 1.516 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.5076, allocations: 3.938 kB / 1.516 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.5078, allocations: 15.98 kB / 1.516 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.5079, allocations: 15.97 kB / 1.517 GB, free: 13.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.5079, allocations: 12 kB / 1.517 GB, free: 13.59 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002235/0.5081, allocations: 231 kB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5081, allocations: 0 / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004813/0.5086, allocations: 119.8 kB / 1.517 GB, free: 13.25 MB / 1.217 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.001237/0.5098, allocations: 1.053 MB / 1.518 GB, free: 12.14 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.5103, allocations: 213.7 kB / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.5103, allocations: 4 kB / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.5105, allocations: 111.8 kB / 1.518 GB, free: 11.82 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/0.5113, allocations: 168.7 kB / 1.518 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.5155, allocations: 3.059 MB / 1.521 GB, free: 8.449 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.5159, allocations: 0.7873 MB / 1.522 GB, free: 7.633 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002547/0.5161, allocations: 82.81 kB / 1.522 GB, free: 7.551 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.5163, allocations: 99.41 kB / 1.522 GB, free: 7.457 MB / 1.217 GB Notification: Performance of SimCode: time 2.8e-07/0.5163, allocations: 0 / 1.522 GB, free: 7.457 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04187/0.5582, allocations: 10.72 MB / 1.533 GB, free: 12.96 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11, allocations: 1.25 kB / 1.533 GB, free: 12.96 MB / 1.232 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: 16.87796685495414]