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.001526/0.001526, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001956/0.001956, allocations: 217.1 kB / 22.25 MB, free: 4.855 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.801 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 3.028/3.028, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002111/0.002111, allocations: 76.47 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3183, 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.1753/0.4936, allocations: 149.5 MB / 1.509 GB, free: 7.965 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009492/0.5031, allocations: 6.547 MB / 1.516 GB, free: 1.398 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004837/0.5036, allocations: 15.88 kB / 1.516 GB, free: 1.383 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.5043, allocations: 178.7 kB / 1.516 GB, free: 1.207 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.5075, allocations: 1.296 MB / 1.517 GB, free: 15.9 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.5092, allocations: 0.6559 MB / 1.518 GB, free: 15.25 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.5103, allocations: 0.7601 MB / 1.519 GB, free: 14.49 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004702/0.5108, allocations: 243 kB / 1.519 GB, free: 14.25 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.5124, allocations: 0.7356 MB / 1.52 GB, free: 13.51 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008943/0.5133, allocations: 442.4 kB / 1.52 GB, free: 13.08 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.5133, allocations: 28 kB / 1.52 GB, free: 13.05 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.5152, allocations: 1.036 MB / 1.521 GB, free: 12.01 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.5154, allocations: 119.6 kB / 1.521 GB, free: 11.89 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.5156, allocations: 147.4 kB / 1.521 GB, free: 11.75 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.5171, allocations: 0.8682 MB / 1.522 GB, free: 10.88 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5171, allocations: 4 kB / 1.522 GB, free: 10.88 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5171, allocations: 0 / 1.522 GB, free: 10.88 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.5171, allocations: 3.938 kB / 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.001083/0.5182, allocations: 0.6368 MB / 1.523 GB, free: 10.2 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5183, allocations: 8.031 kB / 1.523 GB, free: 10.2 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.27e-05/0.5183, allocations: 62.48 kB / 1.523 GB, free: 10.12 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009565/0.5193, allocations: 135.6 kB / 1.523 GB, free: 9.992 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.5199, allocations: 279.6 kB / 1.523 GB, free: 9.695 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.645e-05/0.5199, allocations: 72.06 kB / 1.523 GB, free: 9.613 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.52, allocations: 32 kB / 1.523 GB, free: 9.582 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.5207, allocations: 388.9 kB / 1.524 GB, free: 9.176 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5207, allocations: 4 kB / 1.524 GB, free: 9.172 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.5207, allocations: 12 kB / 1.524 GB, free: 9.16 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.5207, allocations: 4 kB / 1.524 GB, free: 9.156 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/0.5212, allocations: 277.7 kB / 1.524 GB, free: 8.883 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.523, allocations: 1.144 MB / 1.525 GB, free: 7.68 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.5234, allocations: 186.5 kB / 1.525 GB, free: 7.488 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.5236, allocations: 112.8 kB / 1.525 GB, free: 7.375 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007418/0.5244, allocations: 127.9 kB / 1.526 GB, free: 7.25 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.5244, allocations: 42.48 kB / 1.526 GB, free: 7.199 MB / 1.217 GB Notification: Performance of pre-optimization done (n=15): time 3.106e-06/0.5244, allocations: 3.984 kB / 1.526 GB, free: 7.195 MB / 1.217 GB Notification: Performance of matching and sorting (n=15): time 0.0009554/0.5254, allocations: 359.7 kB / 1.526 GB, free: 6.84 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.5254, allocations: 55.34 kB / 1.526 GB, free: 6.773 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.5257, allocations: 312.5 kB / 1.526 GB, free: 6.465 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.5257, allocations: 29.7 kB / 1.526 GB, free: 6.43 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.5259, allocations: 192.3 kB / 1.526 GB, free: 6.238 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.5259, allocations: 59.45 kB / 1.527 GB, free: 6.18 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.054e-05/0.526, allocations: 45.7 kB / 1.527 GB, free: 6.129 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5262, allocations: 342.8 kB / 1.527 GB, free: 5.785 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.5264, allocations: 87.92 kB / 1.527 GB, free: 5.699 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.5266, allocations: 223 kB / 1.527 GB, free: 5.441 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.5271, allocations: 236.3 kB / 1.527 GB, free: 5.191 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5271, allocations: 4 kB / 1.527 GB, free: 5.188 MB / 1.217 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005803/0.5276, allocations: 289.2 kB / 1.528 GB, free: 4.898 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5277, allocations: 5.562 kB / 1.528 GB, free: 4.895 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5277, allocations: 0 / 1.528 GB, free: 4.895 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.5277, allocations: 4 kB / 1.528 GB, free: 4.891 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.5279, allocations: 44.16 kB / 1.528 GB, free: 4.848 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5279, allocations: 8 kB / 1.528 GB, free: 4.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.5281, allocations: 31.7 kB / 1.528 GB, free: 4.809 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.5281, allocations: 16 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.0001571/0.5283, allocations: 145.8 kB / 1.528 GB, free: 4.641 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5284, allocations: 31.81 kB / 1.528 GB, free: 4.609 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006773/0.5291, allocations: 316 kB / 1.528 GB, free: 4.293 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.5291, allocations: 8 kB / 1.528 GB, free: 4.285 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5291, allocations: 4 kB / 1.528 GB, free: 4.281 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5291, allocations: 0 / 1.528 GB, free: 4.281 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.5304, allocations: 0.7451 MB / 1.529 GB, free: 3.465 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5304, allocations: 4.219 kB / 1.529 GB, free: 3.461 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.5306, allocations: 31.98 kB / 1.529 GB, free: 3.43 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.5306, allocations: 7.938 kB / 1.529 GB, free: 3.422 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.5306, allocations: 8 kB / 1.529 GB, free: 3.414 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.708e-06/0.5306, allocations: 4 kB / 1.529 GB, free: 3.41 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5306, allocations: 3.938 kB / 1.529 GB, free: 3.406 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006131/0.5312, allocations: 405.1 kB / 1.529 GB, free: 2.973 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.5314, allocations: 59.66 kB / 1.53 GB, free: 2.914 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.5314, allocations: 15.94 kB / 1.53 GB, free: 2.898 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.5316, allocations: 11.98 kB / 1.53 GB, free: 2.887 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.5317, allocations: 20.06 kB / 1.53 GB, free: 2.867 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.5317, allocations: 11.94 kB / 1.53 GB, free: 2.855 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002228/0.5319, allocations: 231 kB / 1.53 GB, free: 2.629 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5319, allocations: 0 / 1.53 GB, free: 2.629 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005064/0.5324, allocations: 127.8 kB / 1.53 GB, free: 2.504 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.00127/0.5337, allocations: 1.048 MB / 1.531 GB, free: 1.406 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005088/0.5342, allocations: 207.7 kB / 1.531 GB, free: 1.203 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5342, allocations: 0 / 1.531 GB, free: 1.203 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.5345, allocations: 112.5 kB / 1.531 GB, free: 1.094 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/0.5353, allocations: 167.2 kB / 1.531 GB, free: 0.9336 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.5397, allocations: 3.053 MB / 1.534 GB, free: 13.73 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.5399, allocations: 185 kB / 1.535 GB, free: 13.53 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002894/0.5402, allocations: 86.88 kB / 1.535 GB, free: 13.44 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.5403, allocations: 99.39 kB / 1.535 GB, free: 13.34 MB / 1.232 GB Notification: Performance of SimCode: time 9.92e-07/0.5403, allocations: 3.938 kB / 1.535 GB, free: 13.34 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.5802, allocations: 11.71 MB / 1.546 GB, free: 1.906 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.09, allocations: 3.109 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 & 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/jenkins1/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: 17.418446534778923]