Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000798/0.000798, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008106/0.0008106, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.827/0.827, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.698/1.698, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.24e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5523/0.5524, allocations: 149.4 MB / 1.146 GB, free: 6.543 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005882/0.5582, allocations: 6.503 MB / 1.152 GB, free: 2.195 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.5587, allocations: 20.16 kB / 1.152 GB, free: 2.184 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.5592, allocations: 177.2 kB / 1.152 GB, free: 2.066 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.5621, allocations: 1.318 MB / 1.153 GB, free: 1.395 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.5636, allocations: 0.695 MB / 1.154 GB, free: 1.051 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0008145/0.5644, allocations: 0.7329 MB / 1.155 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.5648, allocations: 219.6 kB / 1.155 GB, free: 0.6172 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.5662, allocations: 0.8351 MB / 1.156 GB, free: 252 kB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006539/0.5668, allocations: 412.3 kB / 1.156 GB, free: 116 kB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.5669, allocations: 26.19 kB / 1.156 GB, free: 116 kB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.5687, allocations: 1.051 MB / 1.157 GB, free: 15.73 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.5688, allocations: 124.4 kB / 1.157 GB, free: 15.67 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.569, allocations: 127 kB / 1.158 GB, free: 15.62 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.5702, allocations: 0.9196 MB / 1.158 GB, free: 15.32 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5702, allocations: 0 / 1.158 GB, free: 15.32 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5702, allocations: 0 / 1.158 GB, free: 15.32 MB / 1.026 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.5703, allocations: 1.656 kB / 1.158 GB, free: 15.32 MB / 1.026 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.0007533/0.571, allocations: 0.6254 MB / 1.159 GB, free: 14.84 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.571, allocations: 10.44 kB / 1.159 GB, free: 14.84 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.5711, allocations: 62.41 kB / 1.159 GB, free: 14.78 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005918/0.5717, allocations: 133.1 kB / 1.159 GB, free: 14.75 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.5721, allocations: 280 kB / 1.16 GB, free: 14.54 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.5722, allocations: 78.14 kB / 1.16 GB, free: 14.46 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.5722, allocations: 25.97 kB / 1.16 GB, free: 14.46 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.5727, allocations: 397.3 kB / 1.16 GB, free: 14.25 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5727, allocations: 0 / 1.16 GB, free: 14.25 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.5727, allocations: 10.72 kB / 1.16 GB, free: 14.24 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.5728, allocations: 10.09 kB / 1.16 GB, free: 14.24 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.5731, allocations: 275 kB / 1.16 GB, free: 14.16 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.5743, allocations: 1.132 MB / 1.161 GB, free: 13.36 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.5746, allocations: 185.3 kB / 1.162 GB, free: 13.29 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.5748, allocations: 115.2 kB / 1.162 GB, free: 13.25 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004324/0.5752, allocations: 139 kB / 1.162 GB, free: 13.23 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.5752, allocations: 33.7 kB / 1.162 GB, free: 13.19 MB / 1.026 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.5752, allocations: 0 / 1.162 GB, free: 13.19 MB / 1.026 GB Notification: Performance of matching and sorting (n=15): time 0.0006351/0.5758, allocations: 361 kB / 1.162 GB, free: 13.06 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.5759, allocations: 54.28 kB / 1.162 GB, free: 13 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.5761, allocations: 317.1 kB / 1.163 GB, free: 12.82 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.5761, allocations: 36.02 kB / 1.163 GB, free: 12.79 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.5762, allocations: 181.1 kB / 1.163 GB, free: 12.63 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.5763, allocations: 53.86 kB / 1.163 GB, free: 12.59 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.5763, allocations: 43.81 kB / 1.163 GB, free: 12.56 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.5764, allocations: 339.5 kB / 1.163 GB, free: 12.24 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.5766, allocations: 83.25 kB / 1.163 GB, free: 12.22 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.5768, allocations: 230.4 kB / 1.163 GB, free: 12.04 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.5771, allocations: 245.5 kB / 1.164 GB, free: 11.91 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5771, allocations: 0 / 1.164 GB, free: 11.91 MB / 1.026 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003947/0.5775, allocations: 288.3 kB / 1.164 GB, free: 11.8 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.5775, allocations: 6.25 kB / 1.164 GB, free: 11.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5775, allocations: 0.9375 kB / 1.164 GB, free: 11.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5776, allocations: 3.75 kB / 1.164 GB, free: 11.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.5777, allocations: 45.25 kB / 1.164 GB, free: 11.79 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.5777, allocations: 3.562 kB / 1.164 GB, free: 11.79 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.5778, allocations: 26.36 kB / 1.164 GB, free: 11.78 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.5778, allocations: 16.91 kB / 1.164 GB, free: 11.77 MB / 1.026 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.0001193/0.578, allocations: 149.9 kB / 1.164 GB, free: 11.64 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.578, allocations: 34.31 kB / 1.164 GB, free: 11.62 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.5785, allocations: 313 kB / 1.165 GB, free: 11.49 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5785, allocations: 2.172 kB / 1.165 GB, free: 11.49 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5785, allocations: 0 / 1.165 GB, free: 11.49 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5785, allocations: 2.047 kB / 1.165 GB, free: 11.49 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/0.5794, allocations: 0.7522 MB / 1.165 GB, free: 11.01 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5794, allocations: 1.5 kB / 1.165 GB, free: 11.01 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.5795, allocations: 37.27 kB / 1.165 GB, free: 11.01 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5795, allocations: 2.703 kB / 1.165 GB, free: 11.01 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.5795, allocations: 11.94 kB / 1.165 GB, free: 11 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5795, allocations: 2.438 kB / 1.165 GB, free: 11 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5795, allocations: 7.703 kB / 1.165 GB, free: 11 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.5799, allocations: 404.9 kB / 1.166 GB, free: 10.73 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.58, allocations: 58.2 kB / 1.166 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.58, allocations: 4.312 kB / 1.166 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5801, allocations: 15.45 kB / 1.166 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.5802, allocations: 22.52 kB / 1.166 GB, free: 10.69 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.5802, allocations: 9.406 kB / 1.166 GB, free: 10.69 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001704/0.5804, allocations: 227.8 kB / 1.166 GB, free: 10.57 MB / 1.026 GB Notification: Performance of sort global known variables: time 9e-08/0.5804, allocations: 9.406 kB / 1.166 GB, free: 10.56 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004763/0.5808, allocations: 121.9 kB / 1.166 GB, free: 10.53 MB / 1.026 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.0009279/0.5818, allocations: 1.055 MB / 1.167 GB, free: 9.699 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.5821, allocations: 215.3 kB / 1.167 GB, free: 9.641 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5821, allocations: 1.094 kB / 1.167 GB, free: 9.641 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.5823, allocations: 112.4 kB / 1.168 GB, free: 9.609 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.5828, allocations: 141.9 kB / 1.168 GB, free: 9.574 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.5858, allocations: 3.026 MB / 1.171 GB, free: 7.594 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.5859, allocations: 180 kB / 1.171 GB, free: 7.504 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002171/0.5861, allocations: 85.44 kB / 1.171 GB, free: 7.484 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.5862, allocations: 105.1 kB / 1.171 GB, free: 7.41 MB / 1.026 GB Notification: Performance of SimCode: time 3.91e-07/0.5862, allocations: 0 / 1.171 GB, free: 7.41 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.6102, allocations: 11.61 MB / 1.182 GB, free: 5.277 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.586/7.196, allocations: 8.562 kB / 1.182 GB, free: 5.273 MB / 1.026 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.040973172523081]