Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001378/0.001378, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001539/0.001539, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.929/2.929, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] 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.EntropyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.002024/0.002024, allocations: 64.11 kB / 1.118 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 170 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2243/0.5611, allocations: 173.1 MB / 1.453 GB, free: 13.94 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.5715, allocations: 7.234 MB / 1.46 GB, free: 6.691 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005363/0.572, allocations: 27.75 kB / 1.46 GB, free: 6.664 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.5726, allocations: 170.7 kB / 1.46 GB, free: 6.496 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.576, allocations: 1.331 MB / 1.462 GB, free: 5.16 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.578, allocations: 0.6781 MB / 1.462 GB, free: 4.484 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.5792, allocations: 0.7758 MB / 1.463 GB, free: 3.703 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000485/0.5797, allocations: 235.4 kB / 1.463 GB, free: 3.477 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.5811, allocations: 0.5955 MB / 1.464 GB, free: 2.879 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.5822, allocations: 466.4 kB / 1.464 GB, free: 2.422 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.5823, allocations: 24 kB / 1.464 GB, free: 2.398 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.5849, allocations: 1.376 MB / 1.466 GB, free: 1.02 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.585, allocations: 119.6 kB / 1.466 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.5853, allocations: 175.1 kB / 1.466 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.5873, allocations: 0.9112 MB / 1.467 GB, free: 15.82 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5873, allocations: 8 kB / 1.467 GB, free: 15.81 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5873, allocations: 0 / 1.467 GB, free: 15.81 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.5873, allocations: 0 / 1.467 GB, free: 15.81 MB / 1.17 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.001124/0.5885, allocations: 0.629 MB / 1.468 GB, free: 15.15 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5885, allocations: 12.03 kB / 1.468 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.028e-05/0.5885, allocations: 4.656 kB / 1.468 GB, free: 15.13 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.444e-05/0.5886, allocations: 66.53 kB / 1.468 GB, free: 15.05 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.5896, allocations: 131.6 kB / 1.468 GB, free: 14.93 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.5902, allocations: 283.5 kB / 1.468 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.981e-05/0.5903, allocations: 72.06 kB / 1.468 GB, free: 14.54 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.5903, allocations: 32 kB / 1.468 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.591, allocations: 371.2 kB / 1.469 GB, free: 14.12 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5911, allocations: 3.938 kB / 1.469 GB, free: 14.12 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.5911, allocations: 8 kB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.5911, allocations: 11.94 kB / 1.469 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005614/0.5917, allocations: 273.8 kB / 1.469 GB, free: 13.84 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.5937, allocations: 1.445 MB / 1.47 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.5942, allocations: 194.5 kB / 1.47 GB, free: 12.07 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.5944, allocations: 112.8 kB / 1.47 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007703/0.5951, allocations: 135.8 kB / 1.471 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.453e-05/0.5952, allocations: 38.56 kB / 1.471 GB, free: 11.78 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.5952, allocations: 0 / 1.471 GB, free: 11.78 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.001007/0.5962, allocations: 361.2 kB / 1.471 GB, free: 11.42 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.5963, allocations: 59.34 kB / 1.471 GB, free: 11.35 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.5966, allocations: 316.5 kB / 1.471 GB, free: 11.03 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.5967, allocations: 33.64 kB / 1.471 GB, free: 10.99 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.5968, allocations: 188.4 kB / 1.472 GB, free: 10.8 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.5969, allocations: 51.53 kB / 1.472 GB, free: 10.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.812e-05/0.5969, allocations: 41.7 kB / 1.472 GB, free: 10.71 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5971, allocations: 342.8 kB / 1.472 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.5973, allocations: 95.88 kB / 1.472 GB, free: 10.27 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.5976, allocations: 143.5 kB / 1.472 GB, free: 10.11 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.598, allocations: 240.8 kB / 1.472 GB, free: 9.855 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.598, allocations: 0 / 1.472 GB, free: 9.855 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006181/0.5987, allocations: 285.3 kB / 1.473 GB, free: 9.57 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5987, allocations: 4 kB / 1.473 GB, free: 9.566 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5987, allocations: 4 kB / 1.473 GB, free: 9.562 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5987, allocations: 0 / 1.473 GB, free: 9.562 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.5989, allocations: 43.91 kB / 1.473 GB, free: 9.52 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5989, allocations: 4 kB / 1.473 GB, free: 9.516 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.5992, allocations: 31.83 kB / 1.473 GB, free: 9.484 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.5992, allocations: 8.156 kB / 1.473 GB, free: 9.477 MB / 1.17 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.0001748/0.5994, allocations: 165.6 kB / 1.473 GB, free: 9.305 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.5995, allocations: 27.81 kB / 1.473 GB, free: 9.277 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/0.6002, allocations: 318.9 kB / 1.473 GB, free: 8.961 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6002, allocations: 0 / 1.473 GB, free: 8.961 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6002, allocations: 0 / 1.473 GB, free: 8.961 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6002, allocations: 3.938 kB / 1.473 GB, free: 8.957 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.6017, allocations: 0.7763 MB / 1.474 GB, free: 8.109 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.6017, allocations: 4 kB / 1.474 GB, free: 8.105 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.6019, allocations: 39.91 kB / 1.474 GB, free: 8.066 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.6019, allocations: 7.938 kB / 1.474 GB, free: 8.059 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.6019, allocations: 4 kB / 1.474 GB, free: 8.055 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.6019, allocations: 4 kB / 1.474 GB, free: 8.051 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6019, allocations: 0 / 1.474 GB, free: 8.051 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/0.6026, allocations: 401.2 kB / 1.474 GB, free: 7.621 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.6028, allocations: 67.64 kB / 1.475 GB, free: 7.555 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.6028, allocations: 8 kB / 1.475 GB, free: 7.547 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.6031, allocations: 15.98 kB / 1.475 GB, free: 7.531 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.6031, allocations: 19.91 kB / 1.475 GB, free: 7.512 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.6032, allocations: 12 kB / 1.475 GB, free: 7.5 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002573/0.6034, allocations: 227 kB / 1.475 GB, free: 7.277 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.6034, allocations: 0 / 1.475 GB, free: 7.277 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005694/0.604, allocations: 115.8 kB / 1.475 GB, free: 7.164 MB / 1.17 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.00145/0.6054, allocations: 1.058 MB / 1.476 GB, free: 6.055 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005734/0.606, allocations: 215.7 kB / 1.476 GB, free: 5.844 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.606, allocations: 8.312 kB / 1.476 GB, free: 5.836 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.6063, allocations: 111.9 kB / 1.476 GB, free: 5.727 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/0.6072, allocations: 151.2 kB / 1.476 GB, free: 5.586 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/0.612, allocations: 3.065 MB / 1.479 GB, free: 2.367 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.6124, allocations: 0.7834 MB / 1.48 GB, free: 1.559 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003297/0.6128, allocations: 94.8 kB / 1.48 GB, free: 1.465 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.613, allocations: 103.4 kB / 1.48 GB, free: 1.363 MB / 1.17 GB Notification: Performance of SimCode: time 1.002e-06/0.613, allocations: 0 / 1.48 GB, free: 1.363 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.6481, allocations: 10.76 MB / 1.491 GB, free: 6.84 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.84, allocations: 9.266 kB / 1.491 GB, free: 6.836 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.760726984008215]