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.001154/0.001154, 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.001227/0.001227, allocations: 217.9 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.316/1.316, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 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 2.899/2.899, allocations: 0.5002 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_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.001832/0.001832, allocations: 69.92 kB / 1.171 GB, free: 19.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.292, allocations: 179 MB / 1.345 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1832/0.4753, allocations: 173.1 MB / 1.514 GB, free: 2.82 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.008177/0.4834, allocations: 7.243 MB / 1.521 GB, free: 11.56 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.4837, allocations: 19.81 kB / 1.522 GB, free: 11.54 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.4842, allocations: 174.7 kB / 1.522 GB, free: 11.37 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.487, allocations: 1.334 MB / 1.523 GB, free: 10.03 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.4886, allocations: 0.6615 MB / 1.524 GB, free: 9.367 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.000908/0.4895, allocations: 0.7758 MB / 1.524 GB, free: 8.59 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.4899, allocations: 231.2 kB / 1.525 GB, free: 8.359 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.4913, allocations: 0.7551 MB / 1.525 GB, free: 7.602 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007775/0.4921, allocations: 458.4 kB / 1.526 GB, free: 7.152 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.4921, allocations: 28 kB / 1.526 GB, free: 7.125 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.4942, allocations: 1.356 MB / 1.527 GB, free: 5.766 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.4944, allocations: 123.6 kB / 1.527 GB, free: 5.645 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.4946, allocations: 175.1 kB / 1.527 GB, free: 5.473 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.4959, allocations: 0.9073 MB / 1.528 GB, free: 4.562 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.4959, allocations: 0 / 1.528 GB, free: 4.562 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4959, allocations: 0 / 1.528 GB, free: 4.562 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.4959, allocations: 0 / 1.528 GB, free: 4.562 MB / 1.217 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.001112/0.4971, allocations: 0.6368 MB / 1.529 GB, free: 3.895 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.4971, allocations: 12.03 kB / 1.529 GB, free: 3.883 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.724e-05/0.4971, allocations: 4.656 kB / 1.529 GB, free: 3.875 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.706e-05/0.4972, allocations: 70.47 kB / 1.529 GB, free: 3.797 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009856/0.4982, allocations: 135.6 kB / 1.529 GB, free: 3.664 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.4987, allocations: 271.6 kB / 1.529 GB, free: 3.371 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-05/0.4988, allocations: 72.06 kB / 1.529 GB, free: 3.289 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.4988, allocations: 28 kB / 1.529 GB, free: 3.262 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.4995, allocations: 375.2 kB / 1.53 GB, free: 2.875 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4995, allocations: 0 / 1.53 GB, free: 2.875 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.4995, allocations: 8 kB / 1.53 GB, free: 2.867 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.4995, allocations: 11.94 kB / 1.53 GB, free: 2.855 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.5001, allocations: 273.8 kB / 1.53 GB, free: 2.586 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.5018, allocations: 1.457 MB / 1.532 GB, free: 1.004 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.5023, allocations: 190.5 kB / 1.532 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.5025, allocations: 108.8 kB / 1.532 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007131/0.5032, allocations: 135.8 kB / 1.532 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.5032, allocations: 38.5 kB / 1.532 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.5032, allocations: 0 / 1.532 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of matching and sorting (n=15): time 0.0008798/0.5041, allocations: 357.2 kB / 1.532 GB, free: 168 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.5041, allocations: 55.41 kB / 1.532 GB, free: 100 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.5045, allocations: 316.5 kB / 1.533 GB, free: 15.78 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.5045, allocations: 33.7 kB / 1.533 GB, free: 15.74 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.5046, allocations: 184.4 kB / 1.533 GB, free: 15.56 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.5047, allocations: 55.52 kB / 1.533 GB, free: 15.5 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.449e-05/0.5048, allocations: 49.66 kB / 1.533 GB, free: 15.45 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5049, allocations: 342.8 kB / 1.533 GB, free: 15.11 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.5051, allocations: 83.92 kB / 1.533 GB, free: 15.02 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.5054, allocations: 159.4 kB / 1.534 GB, free: 14.85 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.5058, allocations: 233 kB / 1.534 GB, free: 14.6 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5058, allocations: 0 / 1.534 GB, free: 14.6 MB / 1.232 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005778/0.5064, allocations: 289.2 kB / 1.534 GB, free: 14.31 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5064, allocations: 6.062 kB / 1.534 GB, free: 14.31 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5064, allocations: 8 kB / 1.534 GB, free: 14.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5064, allocations: 0 / 1.534 GB, free: 14.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.5066, allocations: 39.97 kB / 1.534 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.5066, allocations: 4 kB / 1.534 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.5068, allocations: 31.77 kB / 1.534 GB, free: 14.23 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.5069, allocations: 16 kB / 1.534 GB, free: 14.21 MB / 1.232 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.0001593/0.507, allocations: 149.7 kB / 1.534 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.5071, allocations: 31.81 kB / 1.534 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006682/0.5078, allocations: 318.9 kB / 1.535 GB, free: 13.71 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5078, allocations: 4 kB / 1.535 GB, free: 13.71 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5078, allocations: 0 / 1.535 GB, free: 13.71 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5078, allocations: 3.984 kB / 1.535 GB, free: 13.7 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.509, allocations: 0.7801 MB / 1.535 GB, free: 12.85 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.509, allocations: 0 / 1.535 GB, free: 12.85 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.5092, allocations: 40.12 kB / 1.535 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.5092, allocations: 11.94 kB / 1.535 GB, free: 12.8 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5092, allocations: 8 kB / 1.535 GB, free: 12.79 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5092, allocations: 0 / 1.535 GB, free: 12.79 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.5093, allocations: 7.938 kB / 1.535 GB, free: 12.79 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.5099, allocations: 393.2 kB / 1.536 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.51, allocations: 71.58 kB / 1.536 GB, free: 12.29 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.51, allocations: 4 kB / 1.536 GB, free: 12.29 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.5103, allocations: 15.98 kB / 1.536 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.5103, allocations: 19.98 kB / 1.536 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.5103, allocations: 11.98 kB / 1.536 GB, free: 12.24 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002142/0.5105, allocations: 227 kB / 1.536 GB, free: 12.02 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5105, allocations: 0 / 1.536 GB, free: 12.02 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004645/0.511, allocations: 115.8 kB / 1.536 GB, free: 11.91 MB / 1.232 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.001182/0.5122, allocations: 1.053 MB / 1.537 GB, free: 10.8 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004753/0.5127, allocations: 211.8 kB / 1.538 GB, free: 10.59 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5127, allocations: 3.938 kB / 1.538 GB, free: 10.59 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.5129, allocations: 116.6 kB / 1.538 GB, free: 10.48 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008242/0.5137, allocations: 153.1 kB / 1.538 GB, free: 10.33 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.5176, allocations: 3.067 MB / 1.541 GB, free: 7.113 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.518, allocations: 0.7872 MB / 1.542 GB, free: 6.301 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002337/0.5182, allocations: 74.94 kB / 1.542 GB, free: 6.23 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.5184, allocations: 103.4 kB / 1.542 GB, free: 6.129 MB / 1.232 GB Notification: Performance of SimCode: time 3.31e-07/0.5184, allocations: 4 kB / 1.542 GB, free: 6.125 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.5524, allocations: 10.76 MB / 1.552 GB, free: 11.59 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.29, allocations: 8.062 kB / 1.552 GB, free: 11.58 MB / 1.248 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.355157371028326]