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.001536/0.001536, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00169/0.00169, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.322/1.322, allocations: 230.6 MB / 256 MB, free: 7.785 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.978/2.978, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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="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: 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.00189/0.00189, allocations: 63.22 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2939, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1721/0.4661, allocations: 149.5 MB / 1.509 GB, free: 7.957 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00825/0.4743, allocations: 6.539 MB / 1.516 GB, free: 1.398 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.4747, allocations: 19.81 kB / 1.516 GB, free: 1.379 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.4752, allocations: 174.7 kB / 1.516 GB, free: 1.207 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003076/0.4783, allocations: 1.299 MB / 1.517 GB, free: 15.9 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.4799, allocations: 0.6632 MB / 1.518 GB, free: 15.24 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0009862/0.4809, allocations: 0.7641 MB / 1.519 GB, free: 14.48 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.4813, allocations: 235 kB / 1.519 GB, free: 14.24 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.4829, allocations: 0.7395 MB / 1.52 GB, free: 13.5 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008944/0.4838, allocations: 434.5 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.4838, allocations: 24 kB / 1.52 GB, free: 13.05 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.4857, allocations: 1.04 MB / 1.521 GB, free: 12.01 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.4859, allocations: 115.6 kB / 1.521 GB, free: 11.89 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.4861, allocations: 155.3 kB / 1.521 GB, free: 11.74 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.4876, allocations: 0.8683 MB / 1.522 GB, free: 10.87 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4877, allocations: 4 kB / 1.522 GB, free: 10.87 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4877, allocations: 0 / 1.522 GB, free: 10.87 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.4877, allocations: 0 / 1.522 GB, free: 10.87 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.001115/0.4888, allocations: 0.6251 MB / 1.523 GB, free: 10.21 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4888, allocations: 12.03 kB / 1.523 GB, free: 10.2 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.362e-05/0.4889, allocations: 62.53 kB / 1.523 GB, free: 10.13 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009578/0.4899, allocations: 135.6 kB / 1.523 GB, free: 9.996 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.4905, allocations: 279.5 kB / 1.523 GB, free: 9.699 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.4906, allocations: 80.05 kB / 1.523 GB, free: 9.609 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.4906, allocations: 24 kB / 1.523 GB, free: 9.586 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/0.4913, allocations: 396.9 kB / 1.524 GB, free: 9.172 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4913, allocations: 8 kB / 1.524 GB, free: 9.164 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.4914, allocations: 8 kB / 1.524 GB, free: 9.156 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.4914, allocations: 8 kB / 1.524 GB, free: 9.148 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.4919, allocations: 273.7 kB / 1.524 GB, free: 8.879 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.4938, allocations: 1.152 MB / 1.525 GB, free: 7.668 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.4942, allocations: 186.5 kB / 1.525 GB, free: 7.477 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.4944, allocations: 108.8 kB / 1.525 GB, free: 7.367 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/0.4952, allocations: 131.8 kB / 1.526 GB, free: 7.238 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.4952, allocations: 34.56 kB / 1.526 GB, free: 7.195 MB / 1.217 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.4952, allocations: 0 / 1.526 GB, free: 7.195 MB / 1.217 GB Notification: Performance of matching and sorting (n=15): time 0.0009345/0.4961, allocations: 364.3 kB / 1.526 GB, free: 6.836 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.4962, allocations: 59.34 kB / 1.526 GB, free: 6.766 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.4965, allocations: 312.5 kB / 1.526 GB, free: 6.457 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.4966, allocations: 29.7 kB / 1.526 GB, free: 6.422 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.4967, allocations: 184.3 kB / 1.526 GB, free: 6.238 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.4968, allocations: 55.53 kB / 1.527 GB, free: 6.184 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.4968, allocations: 45.69 kB / 1.527 GB, free: 6.133 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.497, allocations: 342.8 kB / 1.527 GB, free: 5.789 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.4972, allocations: 91.94 kB / 1.527 GB, free: 5.699 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.4975, allocations: 220.6 kB / 1.527 GB, free: 5.445 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.4979, allocations: 241.8 kB / 1.527 GB, free: 5.188 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4979, allocations: 0 / 1.527 GB, free: 5.188 MB / 1.217 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006014/0.4985, allocations: 284.1 kB / 1.528 GB, free: 4.906 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4986, allocations: 8 kB / 1.528 GB, free: 4.898 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4986, allocations: 0 / 1.528 GB, free: 4.898 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4986, allocations: 4 kB / 1.528 GB, free: 4.895 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.4988, allocations: 44.11 kB / 1.528 GB, free: 4.852 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4988, allocations: 7.938 kB / 1.528 GB, free: 4.844 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.499, allocations: 39.7 kB / 1.528 GB, free: 4.805 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.4991, allocations: 11.98 kB / 1.528 GB, free: 4.793 MB / 1.217 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.0001626/0.4992, allocations: 157.7 kB / 1.528 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.4993, allocations: 27.81 kB / 1.528 GB, free: 4.602 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007075/0.5001, allocations: 312.2 kB / 1.528 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.5001, allocations: 0 / 1.528 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5001, allocations: 0 / 1.528 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5001, allocations: 0 / 1.528 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.5014, allocations: 0.7414 MB / 1.529 GB, free: 3.477 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5014, allocations: 8.031 kB / 1.529 GB, free: 3.469 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.5016, allocations: 43.91 kB / 1.529 GB, free: 3.426 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.5016, allocations: 3.938 kB / 1.529 GB, free: 3.422 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.5016, allocations: 4 kB / 1.529 GB, free: 3.418 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5016, allocations: 4 kB / 1.529 GB, free: 3.414 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5016, allocations: 4 kB / 1.529 GB, free: 3.41 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.5022, allocations: 409.1 kB / 1.529 GB, free: 2.973 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.5024, allocations: 67.7 kB / 1.53 GB, free: 2.906 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.5024, allocations: 7.938 kB / 1.53 GB, free: 2.898 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.5027, allocations: 15.98 kB / 1.53 GB, free: 2.883 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.5027, allocations: 19.91 kB / 1.53 GB, free: 2.863 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.5028, allocations: 12 kB / 1.53 GB, free: 2.852 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002325/0.503, allocations: 227 kB / 1.53 GB, free: 2.629 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.503, allocations: 0 / 1.53 GB, free: 2.629 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000508/0.5035, allocations: 115.8 kB / 1.53 GB, free: 2.516 MB / 1.217 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.001297/0.5048, allocations: 1.06 MB / 1.531 GB, free: 1.406 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004988/0.5053, allocations: 215.7 kB / 1.531 GB, free: 1.195 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5053, allocations: 0 / 1.531 GB, free: 1.195 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.5055, allocations: 112.7 kB / 1.531 GB, free: 1.086 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008335/0.5064, allocations: 153.2 kB / 1.531 GB, free: 0.9375 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.5106, allocations: 3.061 MB / 1.534 GB, free: 13.73 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.5108, allocations: 185 kB / 1.535 GB, free: 13.53 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002852/0.5111, allocations: 90.8 kB / 1.535 GB, free: 13.44 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.5113, allocations: 103.4 kB / 1.535 GB, free: 13.34 MB / 1.232 GB Notification: Performance of SimCode: time 5.31e-07/0.5113, allocations: 0 / 1.535 GB, free: 13.34 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.552, allocations: 11.7 MB / 1.546 GB, free: 1.91 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11, allocations: 8.688 kB / 1.546 GB, free: 1.906 MB / 1.232 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.031297822017223]