Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00168/0.00168, allocations: 101.9 kB / 19.73 MB, free: 1.965 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.002216/0.002216, allocations: 214.1 kB / 23.03 MB, free: 4.438 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.168/3.168, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",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.001925/0.001925, allocations: 64.5 kB / 1.171 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3575, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1817/0.5391, allocations: 143.8 MB / 1.486 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006223/0.5454, allocations: 4.206 MB / 1.49 GB, free: 11.33 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004564/0.5458, allocations: 15.81 kB / 1.49 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.5464, allocations: 127.1 kB / 1.49 GB, free: 11.19 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.5481, allocations: 0.564 MB / 1.491 GB, free: 10.62 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.5502, allocations: 0.8123 MB / 1.491 GB, free: 9.809 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009346/0.5511, allocations: 0.5768 MB / 1.492 GB, free: 9.23 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.5515, allocations: 175.4 kB / 1.492 GB, free: 9.059 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.5532, allocations: 0.6695 MB / 1.493 GB, free: 8.387 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006941/0.5539, allocations: 314.8 kB / 1.493 GB, free: 8.078 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.18e-05/0.5539, allocations: 20 kB / 1.493 GB, free: 8.059 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.5555, allocations: 0.861 MB / 1.494 GB, free: 7.195 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.5556, allocations: 91.66 kB / 1.494 GB, free: 7.105 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.5558, allocations: 107.5 kB / 1.494 GB, free: 7 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.557, allocations: 0.6815 MB / 1.495 GB, free: 6.316 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.557, allocations: 0 / 1.495 GB, free: 6.316 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.282e-06/0.557, allocations: 0 / 1.495 GB, free: 6.316 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.557, allocations: 7.875 kB / 1.495 GB, free: 6.309 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.001088/0.5581, allocations: 0.5352 MB / 1.495 GB, free: 5.742 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5582, allocations: 12.03 kB / 1.495 GB, free: 5.73 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.78e-05/0.5582, allocations: 4 kB / 1.495 GB, free: 5.727 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.5583, allocations: 54.48 kB / 1.495 GB, free: 5.664 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006858/0.5589, allocations: 71.75 kB / 1.495 GB, free: 5.594 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.5594, allocations: 233.7 kB / 1.496 GB, free: 5.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.5594, allocations: 20 kB / 1.496 GB, free: 5.32 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.5595, allocations: 16 kB / 1.496 GB, free: 5.305 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.56, allocations: 296.1 kB / 1.496 GB, free: 4.988 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.56, allocations: 0 / 1.496 GB, free: 4.988 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.56, allocations: 7.938 kB / 1.496 GB, free: 4.98 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.56, allocations: 8 kB / 1.496 GB, free: 4.973 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.5605, allocations: 207.7 kB / 1.496 GB, free: 4.77 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.5622, allocations: 1.159 MB / 1.497 GB, free: 3.539 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.5625, allocations: 169 kB / 1.497 GB, free: 3.328 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.5627, allocations: 108.2 kB / 1.498 GB, free: 3.207 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/0.5633, allocations: 103.9 kB / 1.498 GB, free: 3.105 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5634, allocations: 46.69 kB / 1.498 GB, free: 3.051 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.5634, allocations: 0 / 1.498 GB, free: 3.051 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.000787/0.5641, allocations: 277.2 kB / 1.498 GB, free: 2.773 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/0.5642, allocations: 162.2 kB / 1.498 GB, free: 2.578 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.5645, allocations: 292.1 kB / 1.498 GB, free: 2.285 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.5646, allocations: 34.2 kB / 1.498 GB, free: 2.246 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.5647, allocations: 148 kB / 1.499 GB, free: 2.098 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.5647, allocations: 43.59 kB / 1.499 GB, free: 2.055 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.5648, allocations: 41.7 kB / 1.499 GB, free: 2.008 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.565, allocations: 338.8 kB / 1.499 GB, free: 1.668 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.5651, allocations: 71.88 kB / 1.499 GB, free: 1.598 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.5654, allocations: 245.2 kB / 1.499 GB, free: 1.305 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.5658, allocations: 215.9 kB / 1.499 GB, free: 1.066 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5658, allocations: 4 kB / 1.499 GB, free: 1.062 MB / 1.186 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005113/0.5663, allocations: 241.3 kB / 1.5 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5663, allocations: 11.98 kB / 1.5 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5663, allocations: 3.938 kB / 1.5 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5663, allocations: 4 kB / 1.5 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.5665, allocations: 35.98 kB / 1.5 GB, free: 0.7656 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.5665, allocations: 7.938 kB / 1.5 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.5667, allocations: 35.7 kB / 1.5 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.5668, allocations: 12.16 kB / 1.5 GB, free: 0.7109 MB / 1.186 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.0001415/0.5669, allocations: 145.8 kB / 1.5 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5671, allocations: 31.86 kB / 1.5 GB, free: 0.5273 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.5675, allocations: 185.8 kB / 1.5 GB, free: 336 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5675, allocations: 0 / 1.5 GB, free: 336 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5675, allocations: 4 kB / 1.5 GB, free: 332 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5675, allocations: 3.938 kB / 1.5 GB, free: 328 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.5685, allocations: 0.8034 MB / 1.501 GB, free: 15.45 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5685, allocations: 8.094 kB / 1.501 GB, free: 15.44 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.5687, allocations: 27.97 kB / 1.501 GB, free: 15.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5687, allocations: 0 / 1.501 GB, free: 15.41 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.5687, allocations: 4 kB / 1.501 GB, free: 15.41 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5687, allocations: 0 / 1.501 GB, free: 15.41 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.5687, allocations: 7.938 kB / 1.501 GB, free: 15.4 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.5693, allocations: 339.5 kB / 1.501 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.5693, allocations: 39.88 kB / 1.501 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.5694, allocations: 4 kB / 1.501 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.5695, allocations: 11.98 kB / 1.501 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.5696, allocations: 7.984 kB / 1.501 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.5696, allocations: 8 kB / 1.501 GB, free: 14.97 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002462/0.5698, allocations: 235 kB / 1.502 GB, free: 14.74 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5698, allocations: 96 / 1.502 GB, free: 14.74 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004596/0.5703, allocations: 103.7 kB / 1.502 GB, free: 14.64 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.001241/0.5715, allocations: 0.9778 MB / 1.503 GB, free: 13.62 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.5719, allocations: 156.1 kB / 1.503 GB, free: 13.46 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5719, allocations: 0 / 1.503 GB, free: 13.46 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.5721, allocations: 51.91 kB / 1.503 GB, free: 13.41 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.5728, allocations: 147.4 kB / 1.503 GB, free: 13.27 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.5765, allocations: 2.752 MB / 1.506 GB, free: 10.36 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.5766, allocations: 150.2 kB / 1.506 GB, free: 10.2 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.5768, allocations: 74.8 kB / 1.506 GB, free: 10.12 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.577, allocations: 75.42 kB / 1.506 GB, free: 10.05 MB / 1.201 GB Notification: Performance of SimCode: time 4e-07/0.577, allocations: 4 kB / 1.506 GB, free: 10.05 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.6105, allocations: 9.268 MB / 1.515 GB, free: 1.039 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.82, allocations: 5.891 kB / 1.515 GB, free: 1.035 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.44937889801804]