Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001686/0.001686, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.002071/0.002071, allocations: 223.6 kB / 23.03 MB, free: 4.945 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.838/2.838, allocations: 476.8 MB / 0.7715 GB, free: 3.84 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_11_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.001905/0.001905, allocations: 67.84 kB / 1.118 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3375, allocations: 169.9 MB / 1.284 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.189/0.5265, allocations: 143.8 MB / 1.425 GB, free: 2.98 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006026/0.5325, allocations: 4.215 MB / 1.429 GB, free: 14.76 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.5328, allocations: 15.88 kB / 1.429 GB, free: 14.74 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.5333, allocations: 135 kB / 1.429 GB, free: 14.61 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.5348, allocations: 0.5602 MB / 1.429 GB, free: 14.05 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.5369, allocations: 0.8043 MB / 1.43 GB, free: 13.24 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008735/0.5378, allocations: 0.5807 MB / 1.431 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.5381, allocations: 173.3 kB / 1.431 GB, free: 12.49 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.5392, allocations: 478.3 kB / 1.431 GB, free: 12.02 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.54, allocations: 318.7 kB / 1.432 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.754e-05/0.54, allocations: 16 kB / 1.432 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.5416, allocations: 0.8648 MB / 1.432 GB, free: 10.83 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.5417, allocations: 95.72 kB / 1.433 GB, free: 10.73 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.5419, allocations: 103.5 kB / 1.433 GB, free: 10.63 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.5429, allocations: 0.6854 MB / 1.433 GB, free: 9.945 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5429, allocations: 0 / 1.433 GB, free: 9.945 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5429, allocations: 4 kB / 1.433 GB, free: 9.941 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.5429, allocations: 0 / 1.433 GB, free: 9.941 MB / 1.139 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.001005/0.5439, allocations: 0.5275 MB / 1.434 GB, free: 9.383 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.544, allocations: 8.031 kB / 1.434 GB, free: 9.375 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.128e-05/0.544, allocations: 4 kB / 1.434 GB, free: 9.371 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.525e-05/0.5441, allocations: 62.48 kB / 1.434 GB, free: 9.301 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007018/0.5448, allocations: 75.78 kB / 1.434 GB, free: 9.227 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.5452, allocations: 233.6 kB / 1.434 GB, free: 8.973 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.5452, allocations: 15.94 kB / 1.434 GB, free: 8.957 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.5453, allocations: 24 kB / 1.434 GB, free: 8.934 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.5458, allocations: 279.3 kB / 1.435 GB, free: 8.633 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5458, allocations: 3.938 kB / 1.435 GB, free: 8.629 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.5458, allocations: 11.94 kB / 1.435 GB, free: 8.617 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5458, allocations: 4 kB / 1.435 GB, free: 8.613 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.5462, allocations: 207.8 kB / 1.435 GB, free: 8.41 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.5479, allocations: 1.167 MB / 1.436 GB, free: 7.172 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.5482, allocations: 169 kB / 1.436 GB, free: 6.961 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.5484, allocations: 104.2 kB / 1.436 GB, free: 6.844 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006627/0.5491, allocations: 108 kB / 1.436 GB, free: 6.738 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.5491, allocations: 42.55 kB / 1.436 GB, free: 6.688 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.5491, allocations: 0 / 1.436 GB, free: 6.688 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007842/0.5499, allocations: 285.5 kB / 1.437 GB, free: 6.402 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.55, allocations: 162.2 kB / 1.437 GB, free: 6.207 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.5503, allocations: 292.1 kB / 1.437 GB, free: 5.914 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.5503, allocations: 29.7 kB / 1.437 GB, free: 5.879 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.5505, allocations: 147.9 kB / 1.437 GB, free: 5.73 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.5505, allocations: 47.64 kB / 1.437 GB, free: 5.684 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.5506, allocations: 37.7 kB / 1.437 GB, free: 5.641 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5507, allocations: 338.8 kB / 1.438 GB, free: 5.301 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.5509, allocations: 68.08 kB / 1.438 GB, free: 5.234 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.5512, allocations: 253.6 kB / 1.438 GB, free: 4.934 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.5516, allocations: 215.5 kB / 1.438 GB, free: 4.695 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5516, allocations: 0 / 1.438 GB, free: 4.695 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00053/0.5521, allocations: 245.2 kB / 1.438 GB, free: 4.449 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5522, allocations: 4 kB / 1.438 GB, free: 4.445 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5522, allocations: 4 kB / 1.438 GB, free: 4.441 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.5522, allocations: 8.25 kB / 1.438 GB, free: 4.434 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.5524, allocations: 43.91 kB / 1.438 GB, free: 4.391 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.5524, allocations: 4 kB / 1.438 GB, free: 4.387 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.5526, allocations: 31.7 kB / 1.438 GB, free: 4.355 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.5526, allocations: 20 kB / 1.438 GB, free: 4.336 MB / 1.139 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.000153/0.5528, allocations: 145.8 kB / 1.439 GB, free: 4.184 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.553, allocations: 27.86 kB / 1.439 GB, free: 4.156 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/0.5534, allocations: 173.9 kB / 1.439 GB, free: 3.969 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5534, allocations: 4 kB / 1.439 GB, free: 3.965 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5534, allocations: 384 / 1.439 GB, free: 3.965 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.5535, allocations: 15.92 kB / 1.439 GB, free: 3.949 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.5545, allocations: 0.8033 MB / 1.44 GB, free: 3.078 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5545, allocations: 3.938 kB / 1.44 GB, free: 3.074 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.5546, allocations: 23.92 kB / 1.44 GB, free: 3.051 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.5547, allocations: 4 kB / 1.44 GB, free: 3.047 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5547, allocations: 4 kB / 1.44 GB, free: 3.043 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.5547, allocations: 8.078 kB / 1.44 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5547, allocations: 4 kB / 1.44 GB, free: 3.031 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.5553, allocations: 335.6 kB / 1.44 GB, free: 2.672 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.5554, allocations: 39.72 kB / 1.44 GB, free: 2.633 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.5554, allocations: 8 kB / 1.44 GB, free: 2.625 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.5556, allocations: 7.938 kB / 1.44 GB, free: 2.617 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.5556, allocations: 11.98 kB / 1.44 GB, free: 2.605 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5556, allocations: 8 kB / 1.44 GB, free: 2.598 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002709/0.5559, allocations: 239.1 kB / 1.44 GB, free: 2.363 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5559, allocations: 4 kB / 1.44 GB, free: 2.359 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004934/0.5564, allocations: 99.75 kB / 1.44 GB, free: 2.262 MB / 1.139 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.001336/0.5577, allocations: 0.9705 MB / 1.441 GB, free: 1.25 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.5582, allocations: 147.9 kB / 1.441 GB, free: 1.105 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5582, allocations: 0 / 1.441 GB, free: 1.105 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.5583, allocations: 68.52 kB / 1.441 GB, free: 1.039 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.5591, allocations: 133 kB / 1.442 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.5631, allocations: 2.767 MB / 1.444 GB, free: 13.98 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.5633, allocations: 146.2 kB / 1.444 GB, free: 13.81 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002245/0.5635, allocations: 66.83 kB / 1.445 GB, free: 13.75 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.5637, allocations: 79.41 kB / 1.445 GB, free: 13.67 MB / 1.154 GB Notification: Performance of SimCode: time 9.32e-07/0.5637, allocations: 0 / 1.445 GB, free: 13.67 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.5984, allocations: 9.276 MB / 1.454 GB, free: 4.691 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.57, allocations: 10.86 kB / 1.454 GB, free: 4.684 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.27346206700895]