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.001359/0.001359, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001444/0.001444, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.517/1.517, allocations: 230.6 MB / 256 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.767/2.767, allocations: 476 MB / 0.7699 GB, free: 4.707 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.EntropyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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.002098/0.002098, allocations: 72.48 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3306, allocations: 170 MB / 1.283 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1938/0.5244, allocations: 149.5 MB / 1.429 GB, free: 6.285 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009169/0.5336, allocations: 6.546 MB / 1.435 GB, free: 15.72 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.5341, allocations: 15.88 kB / 1.435 GB, free: 15.71 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.5347, allocations: 174.7 kB / 1.435 GB, free: 15.54 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.5381, allocations: 1.303 MB / 1.436 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.54, allocations: 0.6559 MB / 1.437 GB, free: 13.57 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.541, allocations: 0.768 MB / 1.438 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.5414, allocations: 227.3 kB / 1.438 GB, free: 12.58 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.5427, allocations: 0.5954 MB / 1.439 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009443/0.5437, allocations: 442.5 kB / 1.439 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/0.5437, allocations: 24 kB / 1.439 GB, free: 11.52 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.546, allocations: 1.052 MB / 1.44 GB, free: 10.47 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.5462, allocations: 119.6 kB / 1.44 GB, free: 10.35 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.5464, allocations: 151.3 kB / 1.44 GB, free: 10.2 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.5483, allocations: 0.8778 MB / 1.441 GB, free: 9.324 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5484, allocations: 0 / 1.441 GB, free: 9.324 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5484, allocations: 4 kB / 1.441 GB, free: 9.32 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.5484, allocations: 0 / 1.441 GB, free: 9.32 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001328/0.5497, allocations: 0.6251 MB / 1.442 GB, free: 8.664 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.5497, allocations: 12.03 kB / 1.442 GB, free: 8.652 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.627e-05/0.5498, allocations: 62.53 kB / 1.442 GB, free: 8.582 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.551, allocations: 131.6 kB / 1.442 GB, free: 8.453 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/0.5517, allocations: 283.5 kB / 1.442 GB, free: 8.152 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.5518, allocations: 80.05 kB / 1.442 GB, free: 8.059 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-05/0.5519, allocations: 24 kB / 1.442 GB, free: 8.035 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.5527, allocations: 396.9 kB / 1.443 GB, free: 7.617 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.5527, allocations: 0 / 1.443 GB, free: 7.617 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.5527, allocations: 12 kB / 1.443 GB, free: 7.605 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.5527, allocations: 8 kB / 1.443 GB, free: 7.598 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.5533, allocations: 273.7 kB / 1.443 GB, free: 7.332 MB / 1.139 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.002058/0.5554, allocations: 1.144 MB / 1.444 GB, free: 6.129 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.5558, allocations: 186.6 kB / 1.444 GB, free: 5.938 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.5561, allocations: 112.7 kB / 1.444 GB, free: 5.824 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007962/0.5569, allocations: 131.9 kB / 1.445 GB, free: 5.695 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5569, allocations: 34.56 kB / 1.445 GB, free: 5.652 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.5569, allocations: 0 / 1.445 GB, free: 5.652 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.001014/0.5579, allocations: 357.2 kB / 1.445 GB, free: 5.297 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.558, allocations: 63.41 kB / 1.445 GB, free: 5.223 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.5583, allocations: 320.4 kB / 1.445 GB, free: 4.898 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.5584, allocations: 25.7 kB / 1.445 GB, free: 4.867 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.5585, allocations: 192.4 kB / 1.446 GB, free: 4.676 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.5586, allocations: 51.53 kB / 1.446 GB, free: 4.625 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.5587, allocations: 45.7 kB / 1.446 GB, free: 4.574 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5589, allocations: 342.8 kB / 1.446 GB, free: 4.23 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.5591, allocations: 91.81 kB / 1.446 GB, free: 4.141 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.5594, allocations: 227 kB / 1.446 GB, free: 3.879 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.5598, allocations: 239.2 kB / 1.446 GB, free: 3.625 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5598, allocations: 4 kB / 1.446 GB, free: 3.621 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006511/0.5605, allocations: 285.2 kB / 1.447 GB, free: 3.336 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.5605, allocations: 8 kB / 1.447 GB, free: 3.328 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5605, allocations: 0 / 1.447 GB, free: 3.328 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.5605, allocations: 4 kB / 1.447 GB, free: 3.324 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.5608, allocations: 43.91 kB / 1.447 GB, free: 3.281 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5608, allocations: 0 / 1.447 GB, free: 3.281 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.561, allocations: 32.03 kB / 1.447 GB, free: 3.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.561, allocations: 19.92 kB / 1.447 GB, free: 3.23 MB / 1.139 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.0001792/0.5612, allocations: 157.6 kB / 1.447 GB, free: 3.066 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5613, allocations: 31.81 kB / 1.447 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007107/0.562, allocations: 307.2 kB / 1.447 GB, free: 2.73 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5621, allocations: 4 kB / 1.447 GB, free: 2.727 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5621, allocations: 4 kB / 1.447 GB, free: 2.723 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5621, allocations: 0 / 1.447 GB, free: 2.723 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.5635, allocations: 0.745 MB / 1.448 GB, free: 1.906 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.5635, allocations: 3.984 kB / 1.448 GB, free: 1.902 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.5637, allocations: 40.14 kB / 1.448 GB, free: 1.863 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.5637, allocations: 7.938 kB / 1.448 GB, free: 1.855 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.5638, allocations: 8 kB / 1.448 GB, free: 1.848 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.5638, allocations: 0 / 1.448 GB, free: 1.848 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.5638, allocations: 4 kB / 1.448 GB, free: 1.844 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/0.5644, allocations: 401.2 kB / 1.449 GB, free: 1.414 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.5646, allocations: 63.66 kB / 1.449 GB, free: 1.352 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.5647, allocations: 11.94 kB / 1.449 GB, free: 1.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.5649, allocations: 15.98 kB / 1.449 GB, free: 1.324 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.565, allocations: 23.91 kB / 1.449 GB, free: 1.301 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.565, allocations: 12 kB / 1.449 GB, free: 1.289 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002518/0.5653, allocations: 227 kB / 1.449 GB, free: 1.07 MB / 1.139 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5653, allocations: 0 / 1.449 GB, free: 1.07 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005402/0.5658, allocations: 119.8 kB / 1.449 GB, free: 0.9531 MB / 1.139 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.001439/0.5672, allocations: 1.05 MB / 1.45 GB, free: 15.85 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005498/0.5678, allocations: 217.4 kB / 1.45 GB, free: 15.64 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5678, allocations: 0 / 1.45 GB, free: 15.64 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.568, allocations: 108.7 kB / 1.45 GB, free: 15.54 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008991/0.5689, allocations: 166.8 kB / 1.45 GB, free: 15.38 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.5735, allocations: 3.059 MB / 1.453 GB, free: 12.16 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.5737, allocations: 177.1 kB / 1.454 GB, free: 11.97 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003148/0.574, allocations: 90.8 kB / 1.454 GB, free: 11.88 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.5742, allocations: 103.4 kB / 1.454 GB, free: 11.78 MB / 1.154 GB Notification: Performance of SimCode: time 9.02e-07/0.5742, allocations: 0 / 1.454 GB, free: 11.78 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04421/0.6184, allocations: 11.72 MB / 1.465 GB, free: 360 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.09, allocations: 5.078 kB / 1.465 GB, free: 360 kB / 1.154 GB " [Timeout remaining time 287] (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: 18.718488942831755]