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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 105.1 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 67.89 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9975/0.9997, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2033/1.203, allocations: 170 MB / 1.47 GB, free: 4.691 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01015/1.213, allocations: 7.167 MB / 1.477 GB, free: 15.59 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005453/1.214, allocations: 16.09 kB / 1.477 GB, free: 15.58 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006485/1.214, allocations: 176.1 kB / 1.477 GB, free: 15.45 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003602/1.218, allocations: 1.314 MB / 1.478 GB, free: 14.47 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/1.22, allocations: 0.6391 MB / 1.479 GB, free: 14.01 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009832/1.221, allocations: 0.7453 MB / 1.48 GB, free: 13.58 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/1.221, allocations: 251.3 kB / 1.48 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/1.223, allocations: 0.7346 MB / 1.481 GB, free: 12.96 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008205/1.224, allocations: 436.4 kB / 1.481 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/1.224, allocations: 26.56 kB / 1.481 GB, free: 12.71 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/1.226, allocations: 1.315 MB / 1.483 GB, free: 11.95 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001591/1.226, allocations: 124.1 kB / 1.483 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/1.227, allocations: 174.9 kB / 1.483 GB, free: 11.76 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/1.228, allocations: 0.9091 MB / 1.484 GB, free: 11.2 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.228, allocations: 0 / 1.484 GB, free: 11.2 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/1.228, allocations: 0 / 1.484 GB, free: 11.2 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.228, allocations: 0 / 1.484 GB, free: 11.2 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.001285/1.23, allocations: 0.7098 MB / 1.484 GB, free: 10.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.23, allocations: 9.344 kB / 1.484 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.427e-05/1.23, allocations: 63.81 kB / 1.484 GB, free: 10.51 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/1.231, allocations: 130.1 kB / 1.485 GB, free: 10.45 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/1.232, allocations: 345.5 kB / 1.485 GB, free: 10.13 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.743e-05/1.232, allocations: 51.12 kB / 1.485 GB, free: 10.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/1.232, allocations: 25.72 kB / 1.485 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007718/1.233, allocations: 374.2 kB / 1.485 GB, free: 9.84 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/1.233, allocations: 1.125 kB / 1.485 GB, free: 9.84 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/1.233, allocations: 10.22 kB / 1.485 GB, free: 9.832 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/1.233, allocations: 6.969 kB / 1.485 GB, free: 9.832 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/1.233, allocations: 276.1 kB / 1.486 GB, free: 9.703 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/1.235, allocations: 1.493 MB / 1.487 GB, free: 8.34 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/1.236, allocations: 189.1 kB / 1.487 GB, free: 8.234 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/1.236, allocations: 117.7 kB / 1.487 GB, free: 8.172 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/1.237, allocations: 0.4989 MB / 1.488 GB, free: 7.656 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/1.237, allocations: 35.73 kB / 1.488 GB, free: 7.613 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/1.237, allocations: 0 / 1.488 GB, free: 7.613 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.001005/1.238, allocations: 356.1 kB / 1.488 GB, free: 7.434 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/1.238, allocations: 53.16 kB / 1.488 GB, free: 7.371 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/1.239, allocations: 324.4 kB / 1.489 GB, free: 7.164 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/1.239, allocations: 26.95 kB / 1.489 GB, free: 7.133 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/1.239, allocations: 193.6 kB / 1.489 GB, free: 6.957 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/1.239, allocations: 49.69 kB / 1.489 GB, free: 6.914 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/1.239, allocations: 46.92 kB / 1.489 GB, free: 6.879 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.239, allocations: 342.6 kB / 1.489 GB, free: 6.543 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/1.239, allocations: 88.83 kB / 1.489 GB, free: 6.5 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/1.24, allocations: 150.6 kB / 1.489 GB, free: 6.391 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/1.24, allocations: 239.3 kB / 1.49 GB, free: 6.234 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.24, allocations: 5.219 kB / 1.49 GB, free: 6.23 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006043/1.241, allocations: 275.6 kB / 1.49 GB, free: 6.086 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.241, allocations: 5.844 kB / 1.49 GB, free: 6.086 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.241, allocations: 1.219 kB / 1.49 GB, free: 6.086 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.241, allocations: 2.625 kB / 1.49 GB, free: 6.086 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/1.241, allocations: 44.06 kB / 1.49 GB, free: 6.074 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/1.241, allocations: 6.125 kB / 1.49 GB, free: 6.07 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/1.241, allocations: 30.2 kB / 1.49 GB, free: 6.051 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/1.241, allocations: 9.625 kB / 1.49 GB, free: 6.051 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.0001746/1.241, allocations: 160.1 kB / 1.49 GB, free: 5.902 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/1.242, allocations: 33.36 kB / 1.49 GB, free: 5.883 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007097/1.242, allocations: 305 kB / 1.491 GB, free: 5.703 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.242, allocations: 2.312 kB / 1.491 GB, free: 5.703 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.242, allocations: 3.938 kB / 1.491 GB, free: 5.699 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.242, allocations: 1.125 kB / 1.491 GB, free: 5.699 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/1.244, allocations: 0.8102 MB / 1.491 GB, free: 5.047 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.244, allocations: 2.125 kB / 1.491 GB, free: 5.047 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/1.244, allocations: 42.06 kB / 1.491 GB, free: 5.031 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.244, allocations: 7.188 kB / 1.491 GB, free: 5.027 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/1.244, allocations: 3.125 kB / 1.491 GB, free: 5.027 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/1.244, allocations: 7.625 kB / 1.491 GB, free: 5.023 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.244, allocations: 6.125 kB / 1.491 GB, free: 5.02 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/1.245, allocations: 402.5 kB / 1.492 GB, free: 4.711 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/1.245, allocations: 139.9 kB / 1.492 GB, free: 4.574 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/1.245, allocations: 6.531 kB / 1.492 GB, free: 4.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/1.245, allocations: 16.36 kB / 1.492 GB, free: 4.562 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/1.245, allocations: 15.33 kB / 1.492 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/1.245, allocations: 20.14 kB / 1.492 GB, free: 4.543 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002272/1.245, allocations: 227.7 kB / 1.492 GB, free: 4.398 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.7e-07/1.245, allocations: 0 / 1.492 GB, free: 4.398 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005382/1.246, allocations: 115.6 kB / 1.492 GB, free: 4.375 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.001401/1.247, allocations: 1.072 MB / 1.493 GB, free: 3.461 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005117/1.248, allocations: 218.6 kB / 1.494 GB, free: 3.359 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.248, allocations: 1.062 kB / 1.494 GB, free: 3.359 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/1.248, allocations: 108.7 kB / 1.494 GB, free: 3.312 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008465/1.249, allocations: 158 kB / 1.494 GB, free: 3.23 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/1.253, allocations: 3.063 MB / 1.497 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/1.253, allocations: 0.7837 MB / 1.498 GB, free: 216 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002792/1.254, allocations: 85.19 kB / 1.498 GB, free: 176 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/1.254, allocations: 102.8 kB / 1.498 GB, free: 92 kB / 1.17 GB Notification: Performance of SimCode: time 4.3e-07/1.254, allocations: 1.062 kB / 1.498 GB, free: 92 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03732/1.291, allocations: 10.58 MB / 1.508 GB, free: 6.02 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/9.86, allocations: 0 / 1.508 GB, free: 6.02 MB / 1.186 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_2/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: 16.125901107210666]