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.001475/0.001475, allocations: 116.1 kB / 17.17 MB, free: 6 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.001614/0.001614, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.432/1.432, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.857/2.857, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 GB " [Timeout remaining time 176] 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.001921/0.001921, allocations: 63.91 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9103/0.9122, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2232/1.135, allocations: 172.9 MB / 1.509 GB, free: 11.26 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01039/1.146, allocations: 7.196 MB / 1.516 GB, free: 4.043 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006494/1.147, allocations: 15.88 kB / 1.516 GB, free: 4.027 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006646/1.147, allocations: 174.7 kB / 1.516 GB, free: 3.855 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003604/1.151, allocations: 1.311 MB / 1.518 GB, free: 2.539 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/1.152, allocations: 0.6402 MB / 1.518 GB, free: 1.902 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001232/1.154, allocations: 0.7524 MB / 1.519 GB, free: 1.148 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/1.154, allocations: 244.7 kB / 1.519 GB, free: 0.9102 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/1.156, allocations: 0.7474 MB / 1.52 GB, free: 164 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/1.157, allocations: 446.4 kB / 1.52 GB, free: 15.72 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/1.157, allocations: 24 kB / 1.52 GB, free: 15.7 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/1.16, allocations: 1.333 MB / 1.522 GB, free: 14.36 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/1.16, allocations: 119.6 kB / 1.522 GB, free: 14.25 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/1.16, allocations: 175.1 kB / 1.522 GB, free: 14.07 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/1.162, allocations: 0.9111 MB / 1.523 GB, free: 13.16 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.162, allocations: 4 kB / 1.523 GB, free: 13.16 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.553e-06/1.162, allocations: 0 / 1.523 GB, free: 13.16 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.271e-05/1.162, allocations: 0 / 1.523 GB, free: 13.16 MB / 1.201 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.001141/1.163, allocations: 0.7081 MB / 1.523 GB, free: 12.4 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.163, allocations: 12.03 kB / 1.523 GB, free: 12.39 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.046e-05/1.163, allocations: 4.562 kB / 1.523 GB, free: 12.38 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.357e-05/1.163, allocations: 62.53 kB / 1.524 GB, free: 12.31 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/1.164, allocations: 131.6 kB / 1.524 GB, free: 12.18 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/1.165, allocations: 341.4 kB / 1.524 GB, free: 11.81 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-05/1.165, allocations: 46.27 kB / 1.524 GB, free: 11.76 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/1.165, allocations: 32 kB / 1.524 GB, free: 11.73 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/1.166, allocations: 370.1 kB / 1.524 GB, free: 11.35 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.166, allocations: 0 / 1.524 GB, free: 11.35 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/1.166, allocations: 12 kB / 1.524 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/1.166, allocations: 7.938 kB / 1.524 GB, free: 11.33 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/1.166, allocations: 274 kB / 1.525 GB, free: 11.06 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/1.168, allocations: 1.496 MB / 1.526 GB, free: 9.438 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/1.169, allocations: 186.6 kB / 1.526 GB, free: 9.246 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/1.169, allocations: 108.8 kB / 1.526 GB, free: 9.137 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009605/1.17, allocations: 0.5014 MB / 1.527 GB, free: 8.543 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/1.17, allocations: 42.56 kB / 1.527 GB, free: 8.492 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/1.17, allocations: 0 / 1.527 GB, free: 8.492 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0009972/1.171, allocations: 358.8 kB / 1.527 GB, free: 8.137 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/1.171, allocations: 55.41 kB / 1.527 GB, free: 8.07 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/1.171, allocations: 312.5 kB / 1.528 GB, free: 7.758 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/1.171, allocations: 29.7 kB / 1.528 GB, free: 7.723 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/1.172, allocations: 188.3 kB / 1.528 GB, free: 7.535 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/1.172, allocations: 59.52 kB / 1.528 GB, free: 7.477 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/1.172, allocations: 45.66 kB / 1.528 GB, free: 7.426 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.172, allocations: 342.8 kB / 1.528 GB, free: 7.082 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/1.172, allocations: 83.92 kB / 1.528 GB, free: 7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/1.172, allocations: 147.3 kB / 1.529 GB, free: 6.836 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/1.173, allocations: 249.7 kB / 1.529 GB, free: 6.57 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.173, allocations: 4 kB / 1.529 GB, free: 6.566 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006235/1.173, allocations: 280.9 kB / 1.529 GB, free: 6.289 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.173, allocations: 8 kB / 1.529 GB, free: 6.281 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.173, allocations: 4.188 kB / 1.529 GB, free: 6.277 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.173, allocations: 4 kB / 1.529 GB, free: 6.273 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/1.174, allocations: 43.92 kB / 1.529 GB, free: 6.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/1.174, allocations: 3.984 kB / 1.529 GB, free: 6.227 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/1.174, allocations: 27.78 kB / 1.529 GB, free: 6.199 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/1.174, allocations: 15.98 kB / 1.529 GB, free: 6.184 MB / 1.201 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.0001847/1.174, allocations: 153.7 kB / 1.529 GB, free: 6.023 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/1.174, allocations: 27.81 kB / 1.529 GB, free: 5.996 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007481/1.175, allocations: 312.2 kB / 1.53 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.175, allocations: 0 / 1.53 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.175, allocations: 0 / 1.53 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.175, allocations: 0 / 1.53 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/1.177, allocations: 0.816 MB / 1.53 GB, free: 4.789 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.177, allocations: 4 kB / 1.53 GB, free: 4.785 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.177, allocations: 39.84 kB / 1.53 GB, free: 4.746 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/1.177, allocations: 12.16 kB / 1.53 GB, free: 4.734 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/1.177, allocations: 8 kB / 1.53 GB, free: 4.727 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/1.177, allocations: 4 kB / 1.53 GB, free: 4.723 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.177, allocations: 0 / 1.53 GB, free: 4.723 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/1.177, allocations: 395.4 kB / 1.531 GB, free: 4.301 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/1.178, allocations: 144.8 kB / 1.531 GB, free: 4.141 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/1.178, allocations: 8 kB / 1.531 GB, free: 4.133 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/1.178, allocations: 11.98 kB / 1.531 GB, free: 4.121 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/1.178, allocations: 27.92 kB / 1.531 GB, free: 4.094 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/1.178, allocations: 8 kB / 1.531 GB, free: 4.086 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002515/1.178, allocations: 227 kB / 1.531 GB, free: 3.863 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.178, allocations: 0 / 1.531 GB, free: 3.863 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005645/1.179, allocations: 123.8 kB / 1.531 GB, free: 3.742 MB / 1.201 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.001333/1.18, allocations: 1.046 MB / 1.532 GB, free: 2.645 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005414/1.181, allocations: 219.7 kB / 1.533 GB, free: 2.43 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.181, allocations: 0 / 1.533 GB, free: 2.43 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/1.181, allocations: 108.5 kB / 1.533 GB, free: 2.324 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008657/1.182, allocations: 165.2 kB / 1.533 GB, free: 2.16 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/1.186, allocations: 3.058 MB / 1.536 GB, free: 14.95 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/1.186, allocations: 0.7834 MB / 1.537 GB, free: 14.14 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002794/1.187, allocations: 86.81 kB / 1.537 GB, free: 14.06 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/1.187, allocations: 99.41 kB / 1.537 GB, free: 13.96 MB / 1.217 GB Notification: Performance of SimCode: time 5.81e-07/1.187, allocations: 0 / 1.537 GB, free: 13.96 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/1.217, allocations: 10.57 MB / 1.547 GB, free: 3.598 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/9.55, allocations: 19.92 kB / 1.547 GB, free: 3.578 MB / 1.217 GB " [Timeout remaining time 290] (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: 15.808338258008007]