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.001771/0.001771, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00256/0.00256, allocations: 217.6 kB / 22.26 MB, free: 5.078 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.706/1.706, allocations: 230.6 MB / 256 MB, free: 8 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.899/2.899, allocations: 476.7 MB / 0.7707 GB, free: 4.297 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="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.00206/0.00206, allocations: 66.17 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3835, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2379/0.6214, allocations: 173.1 MB / 1.452 GB, free: 13.95 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.6328, allocations: 7.239 MB / 1.459 GB, free: 6.688 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006188/0.6334, allocations: 19.81 kB / 1.46 GB, free: 6.668 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007376/0.6341, allocations: 166.7 kB / 1.46 GB, free: 6.504 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.6383, allocations: 1.342 MB / 1.461 GB, free: 5.156 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.6407, allocations: 0.6678 MB / 1.462 GB, free: 4.492 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.6422, allocations: 0.7719 MB / 1.462 GB, free: 3.715 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000641/0.6428, allocations: 243.3 kB / 1.463 GB, free: 3.48 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.6445, allocations: 0.5878 MB / 1.463 GB, free: 2.891 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.6458, allocations: 466.4 kB / 1.464 GB, free: 2.434 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.6459, allocations: 28 kB / 1.464 GB, free: 2.406 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.6493, allocations: 1.372 MB / 1.465 GB, free: 1.031 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.6496, allocations: 123.6 kB / 1.465 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004976/0.6501, allocations: 179.1 kB / 1.465 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003027/0.6531, allocations: 0.9034 MB / 1.466 GB, free: 15.83 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6531, allocations: 4 kB / 1.466 GB, free: 15.82 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.424e-06/0.6532, allocations: 0 / 1.466 GB, free: 15.82 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.598e-05/0.6532, allocations: 3.984 kB / 1.466 GB, free: 15.82 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.001698/0.6549, allocations: 0.629 MB / 1.467 GB, free: 15.16 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.6549, allocations: 15.97 kB / 1.467 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.6551, allocations: 62.53 kB / 1.467 GB, free: 15.07 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.6562, allocations: 131.6 kB / 1.467 GB, free: 14.95 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.6568, allocations: 279.5 kB / 1.467 GB, free: 14.65 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.657, allocations: 76.05 kB / 1.467 GB, free: 14.56 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.657, allocations: 32 kB / 1.467 GB, free: 14.53 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.6578, allocations: 367.2 kB / 1.468 GB, free: 14.15 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6578, allocations: 7.938 kB / 1.468 GB, free: 14.14 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.6578, allocations: 12 kB / 1.468 GB, free: 14.13 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.6578, allocations: 4 kB / 1.468 GB, free: 14.12 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/0.6584, allocations: 281.7 kB / 1.468 GB, free: 13.85 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.002369/0.6608, allocations: 1.453 MB / 1.469 GB, free: 12.28 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.6612, allocations: 190.5 kB / 1.47 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.6615, allocations: 108.8 kB / 1.47 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008436/0.6623, allocations: 143.8 kB / 1.47 GB, free: 11.83 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.6623, allocations: 34.56 kB / 1.47 GB, free: 11.79 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.923e-06/0.6623, allocations: 0 / 1.47 GB, free: 11.79 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.001075/0.6634, allocations: 360.2 kB / 1.47 GB, free: 11.43 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.6635, allocations: 63.34 kB / 1.47 GB, free: 11.36 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.6639, allocations: 316.5 kB / 1.471 GB, free: 11.04 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.664, allocations: 25.7 kB / 1.471 GB, free: 11.01 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.6641, allocations: 184.4 kB / 1.471 GB, free: 10.82 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.6642, allocations: 51.53 kB / 1.471 GB, free: 10.77 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.6643, allocations: 41.7 kB / 1.471 GB, free: 10.73 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.6645, allocations: 350.7 kB / 1.471 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.6648, allocations: 87.89 kB / 1.471 GB, free: 10.29 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.665, allocations: 149.9 kB / 1.471 GB, free: 10.12 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.6655, allocations: 233.8 kB / 1.472 GB, free: 9.871 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6655, allocations: 0 / 1.472 GB, free: 9.871 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006689/0.6662, allocations: 286.5 kB / 1.472 GB, free: 9.586 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.6662, allocations: 8 kB / 1.472 GB, free: 9.578 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6662, allocations: 3.984 kB / 1.472 GB, free: 9.574 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.6662, allocations: 7.984 kB / 1.472 GB, free: 9.566 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.6665, allocations: 35.98 kB / 1.472 GB, free: 9.531 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.6665, allocations: 4.125 kB / 1.472 GB, free: 9.527 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.6668, allocations: 35.83 kB / 1.472 GB, free: 9.492 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.6668, allocations: 8 kB / 1.472 GB, free: 9.484 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.0002164/0.667, allocations: 161.7 kB / 1.472 GB, free: 9.316 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.6672, allocations: 27.81 kB / 1.472 GB, free: 9.289 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.668, allocations: 324 kB / 1.473 GB, free: 8.965 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.668, allocations: 0 / 1.473 GB, free: 8.965 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.668, allocations: 4 kB / 1.473 GB, free: 8.961 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.668, allocations: 0 / 1.473 GB, free: 8.961 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.6695, allocations: 0.7723 MB / 1.473 GB, free: 8.117 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/0.6695, allocations: 4 kB / 1.473 GB, free: 8.113 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.6697, allocations: 39.98 kB / 1.473 GB, free: 8.074 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.6697, allocations: 3.938 kB / 1.473 GB, free: 8.07 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.6697, allocations: 4 kB / 1.473 GB, free: 8.066 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.6697, allocations: 11.92 kB / 1.473 GB, free: 8.055 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6697, allocations: 4 kB / 1.473 GB, free: 8.051 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.6704, allocations: 405.3 kB / 1.474 GB, free: 7.617 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.6706, allocations: 59.72 kB / 1.474 GB, free: 7.559 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.6707, allocations: 7.938 kB / 1.474 GB, free: 7.551 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.6709, allocations: 16.03 kB / 1.474 GB, free: 7.535 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.671, allocations: 15.95 kB / 1.474 GB, free: 7.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.671, allocations: 12 kB / 1.474 GB, free: 7.508 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002584/0.6713, allocations: 231 kB / 1.474 GB, free: 7.285 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6713, allocations: 0 / 1.474 GB, free: 7.285 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005712/0.6718, allocations: 123.8 kB / 1.474 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.001523/0.6734, allocations: 1.057 MB / 1.475 GB, free: 6.059 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.674, allocations: 215.7 kB / 1.475 GB, free: 5.848 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.674, allocations: 3.938 kB / 1.475 GB, free: 5.844 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.6742, allocations: 111.8 kB / 1.476 GB, free: 5.734 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009222/0.6752, allocations: 160.6 kB / 1.476 GB, free: 5.582 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/0.6801, allocations: 3.052 MB / 1.479 GB, free: 2.375 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.6806, allocations: 0.7873 MB / 1.479 GB, free: 1.562 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004066/0.681, allocations: 90.84 kB / 1.48 GB, free: 1.473 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.6812, allocations: 99.41 kB / 1.48 GB, free: 1.375 MB / 1.17 GB Notification: Performance of SimCode: time 9.42e-07/0.6812, allocations: 3.938 kB / 1.48 GB, free: 1.371 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04737/0.7286, allocations: 10.72 MB / 1.49 GB, free: 6.875 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.41, allocations: 1.125 kB / 1.49 GB, free: 6.875 MB / 1.186 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: 19.530450658872724]