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.0007627/0.0007627, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007437/0.0007437, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8644/0.8644, allocations: 177.1 MB / 202.8 MB, free: 5.551 MB / 186.7 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 1.715/1.715, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.9997 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.033e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5941/0.5941, allocations: 149.4 MB / 1.146 GB, free: 6.98 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005625/0.5997, allocations: 6.505 MB / 1.152 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004422/0.6002, allocations: 19.25 kB / 1.152 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.6007, allocations: 176.8 kB / 1.152 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.6035, allocations: 1.317 MB / 1.153 GB, free: 0.7812 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.6048, allocations: 0.7022 MB / 1.154 GB, free: 272 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007414/0.6055, allocations: 0.7253 MB / 1.155 GB, free: 15.84 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.6059, allocations: 235.5 kB / 1.155 GB, free: 15.68 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.6072, allocations: 0.8312 MB / 1.156 GB, free: 15.15 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007004/0.6079, allocations: 410.8 kB / 1.156 GB, free: 14.93 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.608, allocations: 25.12 kB / 1.156 GB, free: 14.93 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.6099, allocations: 1.054 MB / 1.157 GB, free: 14.33 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.61, allocations: 122 kB / 1.157 GB, free: 14.25 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.6101, allocations: 123 kB / 1.158 GB, free: 14.19 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.6115, allocations: 0.9203 MB / 1.158 GB, free: 13.64 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6115, allocations: 3.984 kB / 1.158 GB, free: 13.63 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6115, allocations: 0 / 1.158 GB, free: 13.63 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.6115, allocations: 0 / 1.158 GB, free: 13.63 MB / 1.01 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.0009891/0.6125, allocations: 0.6263 MB / 1.159 GB, free: 13.11 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6126, allocations: 11.41 kB / 1.159 GB, free: 13.11 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.6126, allocations: 62.81 kB / 1.159 GB, free: 13.04 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005959/0.6132, allocations: 126.1 kB / 1.159 GB, free: 12.98 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.6137, allocations: 279.6 kB / 1.16 GB, free: 12.74 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.6138, allocations: 73.5 kB / 1.16 GB, free: 12.67 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.6138, allocations: 26.94 kB / 1.16 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.6143, allocations: 395.6 kB / 1.16 GB, free: 12.39 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6143, allocations: 7.734 kB / 1.16 GB, free: 12.39 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.6143, allocations: 10.72 kB / 1.16 GB, free: 12.38 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.6143, allocations: 7.844 kB / 1.16 GB, free: 12.38 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.6146, allocations: 273.6 kB / 1.16 GB, free: 12.25 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.616, allocations: 1.131 MB / 1.161 GB, free: 11.32 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.6163, allocations: 184.5 kB / 1.162 GB, free: 11.22 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.6164, allocations: 113.3 kB / 1.162 GB, free: 11.16 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/0.6169, allocations: 135.5 kB / 1.162 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.6169, allocations: 37.12 kB / 1.162 GB, free: 11.06 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.6169, allocations: 0 / 1.162 GB, free: 11.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.0006181/0.6175, allocations: 361.1 kB / 1.162 GB, free: 10.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.6175, allocations: 58.31 kB / 1.162 GB, free: 10.81 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.6178, allocations: 318.5 kB / 1.163 GB, free: 10.6 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.6178, allocations: 29.7 kB / 1.163 GB, free: 10.56 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.745e-05/0.6179, allocations: 187.3 kB / 1.163 GB, free: 10.39 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.6179, allocations: 52.44 kB / 1.163 GB, free: 10.35 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.618, allocations: 44.95 kB / 1.163 GB, free: 10.32 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.6181, allocations: 338.4 kB / 1.163 GB, free: 9.984 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.6182, allocations: 82.98 kB / 1.163 GB, free: 9.945 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.6184, allocations: 229.2 kB / 1.163 GB, free: 9.742 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.6186, allocations: 245.5 kB / 1.164 GB, free: 9.582 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6186, allocations: 0 / 1.164 GB, free: 9.582 MB / 1.01 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003479/0.619, allocations: 287 kB / 1.164 GB, free: 9.426 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.619, allocations: 5.375 kB / 1.164 GB, free: 9.426 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.619, allocations: 2.594 kB / 1.164 GB, free: 9.426 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.619, allocations: 2.281 kB / 1.164 GB, free: 9.426 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.6191, allocations: 48.56 kB / 1.164 GB, free: 9.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6191, allocations: 2.344 kB / 1.164 GB, free: 9.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.6193, allocations: 30.7 kB / 1.164 GB, free: 9.391 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.6193, allocations: 7.469 kB / 1.164 GB, free: 9.391 MB / 1.01 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.0001374/0.6194, allocations: 153.7 kB / 1.164 GB, free: 9.25 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.782e-05/0.6195, allocations: 33.19 kB / 1.164 GB, free: 9.23 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.62, allocations: 316 kB / 1.165 GB, free: 9.051 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.62, allocations: 2.969 kB / 1.165 GB, free: 9.051 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.62, allocations: 0 / 1.165 GB, free: 9.051 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.62, allocations: 3.625 kB / 1.165 GB, free: 9.051 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008182/0.6208, allocations: 0.7518 MB / 1.165 GB, free: 8.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6208, allocations: 4 kB / 1.165 GB, free: 8.336 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.6209, allocations: 35.92 kB / 1.165 GB, free: 8.301 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6209, allocations: 0 / 1.165 GB, free: 8.301 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.6209, allocations: 11.98 kB / 1.165 GB, free: 8.289 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.6209, allocations: 4 kB / 1.165 GB, free: 8.285 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6209, allocations: 8.156 kB / 1.165 GB, free: 8.277 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.6213, allocations: 405 kB / 1.166 GB, free: 7.844 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.6214, allocations: 51.78 kB / 1.166 GB, free: 7.793 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.6214, allocations: 4 kB / 1.166 GB, free: 7.789 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.6215, allocations: 12.08 kB / 1.166 GB, free: 7.777 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.6216, allocations: 31.78 kB / 1.166 GB, free: 7.746 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.6216, allocations: 8 kB / 1.166 GB, free: 7.738 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002001/0.6218, allocations: 231 kB / 1.166 GB, free: 7.512 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6218, allocations: 0 / 1.166 GB, free: 7.512 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004504/0.6223, allocations: 127.7 kB / 1.166 GB, free: 7.387 MB / 1.01 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.0008751/0.6231, allocations: 1.05 MB / 1.167 GB, free: 6.289 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.6235, allocations: 219.9 kB / 1.167 GB, free: 6.074 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6235, allocations: 0 / 1.167 GB, free: 6.074 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.6236, allocations: 107.9 kB / 1.168 GB, free: 5.969 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.6241, allocations: 149.4 kB / 1.168 GB, free: 5.832 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.6269, allocations: 3.03 MB / 1.171 GB, free: 2.637 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.627, allocations: 179.7 kB / 1.171 GB, free: 2.441 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001939/0.6272, allocations: 86.8 kB / 1.171 GB, free: 2.359 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.6273, allocations: 104.5 kB / 1.171 GB, free: 2.258 MB / 1.01 GB Notification: Performance of SimCode: time 1.002e-06/0.6273, allocations: 0 / 1.171 GB, free: 2.258 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.6528, allocations: 11.6 MB / 1.182 GB, free: 6.941 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.489/7.142, allocations: 6.812 kB / 1.182 GB, free: 6.938 MB / 1.026 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senMasFlo.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.150828135199845]