Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.00138/0.00138, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.001589/0.001589, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.386/1.386, allocations: 230.6 MB / 252.8 MB, free: 9.141 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/3, allocations: 0.49 GB / 0.7916 GB, free: 33.42 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.SpecificEntropy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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.00199/0.00199, allocations: 79.45 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3244, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1924/0.5168, allocations: 166.6 MB / 1.484 GB, free: 12.02 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00583/0.5226, allocations: 4.626 MB / 1.488 GB, free: 7.379 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.5229, allocations: 11.88 kB / 1.488 GB, free: 7.367 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004107/0.5233, allocations: 131 kB / 1.488 GB, free: 7.238 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.5246, allocations: 0.564 MB / 1.489 GB, free: 6.672 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.5264, allocations: 0.786 MB / 1.49 GB, free: 5.887 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007708/0.5271, allocations: 0.5651 MB / 1.49 GB, free: 5.32 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.5275, allocations: 189.2 kB / 1.49 GB, free: 5.133 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.529, allocations: 0.6811 MB / 1.491 GB, free: 4.449 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000593/0.5296, allocations: 314.8 kB / 1.491 GB, free: 4.141 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.5296, allocations: 20 kB / 1.491 GB, free: 4.121 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.5317, allocations: 1.075 MB / 1.492 GB, free: 3.043 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.5318, allocations: 87.72 kB / 1.492 GB, free: 2.957 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.532, allocations: 127.3 kB / 1.493 GB, free: 2.832 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.5332, allocations: 0.7244 MB / 1.493 GB, free: 2.105 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5332, allocations: 0 / 1.493 GB, free: 2.105 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5332, allocations: 0 / 1.493 GB, free: 2.105 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.5333, allocations: 4 kB / 1.493 GB, free: 2.102 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001157/0.5344, allocations: 0.6028 MB / 1.494 GB, free: 1.449 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5345, allocations: 11.98 kB / 1.494 GB, free: 1.438 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.499e-05/0.5345, allocations: 58.53 kB / 1.494 GB, free: 1.371 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007246/0.5353, allocations: 79.69 kB / 1.494 GB, free: 1.293 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.5357, allocations: 299.5 kB / 1.494 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.5357, allocations: 12 kB / 1.494 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.5358, allocations: 24 kB / 1.494 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.5363, allocations: 283.4 kB / 1.495 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5363, allocations: 3.938 kB / 1.495 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.5364, allocations: 11.94 kB / 1.495 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.5364, allocations: 8 kB / 1.495 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.5368, allocations: 203.5 kB / 1.495 GB, free: 408 kB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.5386, allocations: 1.242 MB / 1.496 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.5389, allocations: 173 kB / 1.496 GB, free: 14.86 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.5391, allocations: 112.2 kB / 1.496 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/0.5398, allocations: 331.4 kB / 1.497 GB, free: 14.36 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5399, allocations: 42.5 kB / 1.497 GB, free: 14.3 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.5399, allocations: 0 / 1.497 GB, free: 14.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0008005/0.5407, allocations: 281.5 kB / 1.497 GB, free: 14.02 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.5408, allocations: 158.2 kB / 1.497 GB, free: 13.83 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.5411, allocations: 290.9 kB / 1.497 GB, free: 13.54 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.5411, allocations: 25.7 kB / 1.497 GB, free: 13.51 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.5412, allocations: 151.9 kB / 1.497 GB, free: 13.36 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.5413, allocations: 47.62 kB / 1.498 GB, free: 13.31 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.5414, allocations: 49.78 kB / 1.498 GB, free: 13.25 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5415, allocations: 338.8 kB / 1.498 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5417, allocations: 67.94 kB / 1.498 GB, free: 12.85 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.5419, allocations: 150.3 kB / 1.498 GB, free: 12.67 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.5423, allocations: 211.5 kB / 1.498 GB, free: 12.44 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5423, allocations: 0 / 1.498 GB, free: 12.44 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005874/0.5429, allocations: 249.4 kB / 1.499 GB, free: 12.19 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5429, allocations: 4 kB / 1.499 GB, free: 12.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.543, allocations: 4 kB / 1.499 GB, free: 12.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.543, allocations: 0 / 1.499 GB, free: 12.18 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.5432, allocations: 39.92 kB / 1.499 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5432, allocations: 0 / 1.499 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.5434, allocations: 39.7 kB / 1.499 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.5434, allocations: 11.98 kB / 1.499 GB, free: 12.09 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001525/0.5436, allocations: 149.9 kB / 1.499 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.5437, allocations: 23.86 kB / 1.499 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.5442, allocations: 193.7 kB / 1.499 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.5442, allocations: 8.406 kB / 1.499 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5442, allocations: 0 / 1.499 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.5442, allocations: 3.938 kB / 1.499 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.5453, allocations: 0.8551 MB / 1.5 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5453, allocations: 7.938 kB / 1.5 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.5454, allocations: 27.92 kB / 1.5 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.5454, allocations: 0 / 1.5 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.5454, allocations: 4 kB / 1.5 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.5454, allocations: 3.938 kB / 1.5 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5454, allocations: 4 kB / 1.5 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005863/0.546, allocations: 343.6 kB / 1.5 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.5461, allocations: 112.9 kB / 1.5 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.5462, allocations: 4 kB / 1.5 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.5463, allocations: 15.92 kB / 1.5 GB, free: 10.2 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.5464, allocations: 7.984 kB / 1.5 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.5464, allocations: 8 kB / 1.5 GB, free: 10.18 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002547/0.5466, allocations: 233.9 kB / 1.501 GB, free: 9.953 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5466, allocations: 0 / 1.501 GB, free: 9.953 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004752/0.5471, allocations: 99.8 kB / 1.501 GB, free: 9.855 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001222/0.5483, allocations: 0.9739 MB / 1.502 GB, free: 8.84 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.5487, allocations: 152 kB / 1.502 GB, free: 8.691 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5487, allocations: 0 / 1.502 GB, free: 8.691 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.5489, allocations: 55.84 kB / 1.502 GB, free: 8.637 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.5497, allocations: 146.8 kB / 1.502 GB, free: 8.5 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.5533, allocations: 2.766 MB / 1.505 GB, free: 5.578 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.5536, allocations: 0.7518 MB / 1.505 GB, free: 4.801 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002021/0.5538, allocations: 78.8 kB / 1.505 GB, free: 4.723 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.554, allocations: 75.42 kB / 1.506 GB, free: 4.648 MB / 1.201 GB Notification: Performance of SimCode: time 2.7e-07/0.554, allocations: 0 / 1.506 GB, free: 4.648 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.5881, allocations: 8.601 MB / 1.514 GB, free: 12.2 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.633, allocations: 13.91 kB / 1.514 GB, free: 12.19 MB / 1.217 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.778001975035295]