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.001209/0.001209, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001283/0.001283, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.39/1.39, allocations: 230.6 MB / 252.8 MB, free: 8.961 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 3.022/3.022, allocations: 0.49 GB / 0.7916 GB, free: 33.51 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.002002/0.002002, allocations: 71.23 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3089, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1952/0.5041, allocations: 172.9 MB / 1.49 GB, free: 5.781 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009413/0.5136, allocations: 7.204 MB / 1.497 GB, free: 14.55 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.514, allocations: 19.81 kB / 1.497 GB, free: 14.54 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005647/0.5146, allocations: 170.7 kB / 1.497 GB, free: 14.37 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.5178, allocations: 1.303 MB / 1.498 GB, free: 13.06 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.5196, allocations: 0.6348 MB / 1.499 GB, free: 12.43 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.5207, allocations: 0.7563 MB / 1.5 GB, free: 11.67 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004697/0.5212, allocations: 254.7 kB / 1.5 GB, free: 11.42 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.5228, allocations: 0.7357 MB / 1.5 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008946/0.5237, allocations: 454.4 kB / 1.501 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/0.5237, allocations: 24 kB / 1.501 GB, free: 10.21 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.5264, allocations: 1.325 MB / 1.502 GB, free: 8.883 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.5266, allocations: 115.6 kB / 1.502 GB, free: 8.77 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.5269, allocations: 175.1 kB / 1.503 GB, free: 8.598 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.5285, allocations: 0.9073 MB / 1.503 GB, free: 7.688 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5285, allocations: 8 kB / 1.503 GB, free: 7.68 MB / 1.201 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5285, allocations: 0 / 1.503 GB, free: 7.68 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5285, allocations: 0 / 1.503 GB, free: 7.68 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.001105/0.5296, allocations: 0.7042 MB / 1.504 GB, free: 6.926 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5297, allocations: 11.98 kB / 1.504 GB, free: 6.914 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.12e-05/0.5298, allocations: 74.47 kB / 1.504 GB, free: 6.832 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.5308, allocations: 131.5 kB / 1.504 GB, free: 6.703 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.5314, allocations: 341.4 kB / 1.505 GB, free: 6.324 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/0.5315, allocations: 50.27 kB / 1.505 GB, free: 6.27 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.5315, allocations: 24 kB / 1.505 GB, free: 6.246 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/0.5322, allocations: 374.1 kB / 1.505 GB, free: 5.859 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5322, allocations: 0 / 1.505 GB, free: 5.859 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.5322, allocations: 12 kB / 1.505 GB, free: 5.848 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.5323, allocations: 8 kB / 1.505 GB, free: 5.84 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/0.5328, allocations: 281.9 kB / 1.505 GB, free: 5.562 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.5348, allocations: 1.484 MB / 1.507 GB, free: 3.953 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.5353, allocations: 182.6 kB / 1.507 GB, free: 3.766 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.5355, allocations: 108.8 kB / 1.507 GB, free: 3.656 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.5365, allocations: 0.5053 MB / 1.508 GB, free: 3.059 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.5365, allocations: 42.5 kB / 1.508 GB, free: 3.008 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.5365, allocations: 0 / 1.508 GB, free: 3.008 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0009882/0.5375, allocations: 353.2 kB / 1.508 GB, free: 2.656 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.5376, allocations: 55.41 kB / 1.508 GB, free: 2.59 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.5379, allocations: 320.5 kB / 1.508 GB, free: 2.27 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.5379, allocations: 29.64 kB / 1.508 GB, free: 2.234 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.5381, allocations: 192.2 kB / 1.509 GB, free: 2.043 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.5381, allocations: 51.58 kB / 1.509 GB, free: 1.992 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5382, allocations: 49.66 kB / 1.509 GB, free: 1.938 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5384, allocations: 338.8 kB / 1.509 GB, free: 1.598 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.5386, allocations: 87.94 kB / 1.509 GB, free: 1.512 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.5389, allocations: 151.4 kB / 1.509 GB, free: 1.344 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.5393, allocations: 242.6 kB / 1.509 GB, free: 1.086 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5393, allocations: 0 / 1.509 GB, free: 1.086 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006301/0.54, allocations: 293.6 kB / 1.51 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.54, allocations: 8 kB / 1.51 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.54, allocations: 0 / 1.51 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.54, allocations: 4 kB / 1.51 GB, free: 0.7852 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.5402, allocations: 35.98 kB / 1.51 GB, free: 0.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5403, allocations: 7.938 kB / 1.51 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.5405, allocations: 31.77 kB / 1.51 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.5405, allocations: 11.98 kB / 1.51 GB, free: 0.6992 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.0001856/0.5407, allocations: 159.5 kB / 1.51 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5408, allocations: 31.81 kB / 1.51 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/0.5415, allocations: 311.7 kB / 1.51 GB, free: 196 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5415, allocations: 4 kB / 1.51 GB, free: 192 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5415, allocations: 0 / 1.51 GB, free: 192 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.5415, allocations: 3.938 kB / 1.51 GB, free: 188 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.543, allocations: 0.8044 MB / 1.511 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.543, allocations: 8.156 kB / 1.511 GB, free: 15.29 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.5432, allocations: 39.97 kB / 1.511 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.5432, allocations: 7.938 kB / 1.511 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.5432, allocations: 4 kB / 1.511 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5432, allocations: 4 kB / 1.511 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.5432, allocations: 3.984 kB / 1.511 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006729/0.5439, allocations: 409.1 kB / 1.512 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.544, allocations: 132.9 kB / 1.512 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.5441, allocations: 7.938 kB / 1.512 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.5443, allocations: 19.98 kB / 1.512 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.5444, allocations: 11.98 kB / 1.512 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.5444, allocations: 12 kB / 1.512 GB, free: 14.6 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002547/0.5447, allocations: 227 kB / 1.512 GB, free: 14.38 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5447, allocations: 0 / 1.512 GB, free: 14.38 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005445/0.5452, allocations: 127.7 kB / 1.512 GB, free: 14.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.001358/0.5466, allocations: 1.046 MB / 1.513 GB, free: 13.16 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005585/0.5471, allocations: 219.7 kB / 1.513 GB, free: 12.94 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5471, allocations: 0 / 1.513 GB, free: 12.94 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.5474, allocations: 120.4 kB / 1.513 GB, free: 12.82 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008712/0.5482, allocations: 149.3 kB / 1.514 GB, free: 12.68 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.5527, allocations: 3.066 MB / 1.517 GB, free: 9.453 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.5532, allocations: 0.7873 MB / 1.517 GB, free: 8.641 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002944/0.5535, allocations: 82.86 kB / 1.517 GB, free: 8.559 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.5537, allocations: 103.4 kB / 1.517 GB, free: 8.461 MB / 1.217 GB Notification: Performance of SimCode: time 1.212e-06/0.5537, allocations: 0 / 1.517 GB, free: 8.461 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/0.5929, allocations: 10.52 MB / 1.528 GB, free: 14.12 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.794, allocations: 6.312 kB / 1.528 GB, free: 14.12 MB / 1.232 GB " [Timeout remaining time 291] (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: 14.984504465013742]