Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001326/0.001326, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001501/0.001501, allocations: 214.3 kB / 22.25 MB, free: 5.082 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_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.002065/0.002065, allocations: 65.92 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3654, allocations: 169.9 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2169/0.5823, allocations: 173.1 MB / 1.452 GB, free: 13.93 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.5939, allocations: 7.226 MB / 1.459 GB, free: 6.684 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007469/0.5946, allocations: 27.75 kB / 1.46 GB, free: 6.656 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007578/0.5954, allocations: 174.7 kB / 1.46 GB, free: 6.484 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.5997, allocations: 1.338 MB / 1.461 GB, free: 5.141 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.6021, allocations: 0.6753 MB / 1.462 GB, free: 4.469 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.6036, allocations: 0.768 MB / 1.462 GB, free: 3.695 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005132/0.6041, allocations: 238.7 kB / 1.463 GB, free: 3.465 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.6057, allocations: 0.5994 MB / 1.463 GB, free: 2.863 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.6068, allocations: 466.4 kB / 1.464 GB, free: 2.406 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.402e-05/0.6069, allocations: 24 kB / 1.464 GB, free: 2.383 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.6098, allocations: 1.372 MB / 1.465 GB, free: 1.008 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.61, allocations: 119.6 kB / 1.465 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.6103, allocations: 175.1 kB / 1.465 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.6126, allocations: 0.9117 MB / 1.466 GB, free: 15.8 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6127, allocations: 4 kB / 1.466 GB, free: 15.8 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6127, allocations: 0 / 1.466 GB, free: 15.8 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.6127, allocations: 4 kB / 1.466 GB, free: 15.8 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.00123/0.6139, allocations: 0.631 MB / 1.467 GB, free: 15.14 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.6139, allocations: 8.031 kB / 1.467 GB, free: 15.13 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.867e-05/0.614, allocations: 74.48 kB / 1.467 GB, free: 15.05 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.6151, allocations: 127.6 kB / 1.467 GB, free: 14.92 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.6157, allocations: 287.5 kB / 1.467 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.6158, allocations: 72.06 kB / 1.467 GB, free: 14.53 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.6158, allocations: 28 kB / 1.467 GB, free: 14.5 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.6165, allocations: 375.2 kB / 1.468 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.6165, allocations: 0 / 1.468 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.6166, allocations: 15.94 kB / 1.468 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.6166, allocations: 4 kB / 1.468 GB, free: 14.09 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.6171, allocations: 281.7 kB / 1.468 GB, free: 13.82 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.6193, allocations: 1.449 MB / 1.469 GB, free: 12.25 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.6197, allocations: 186.5 kB / 1.47 GB, free: 12.06 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.6199, allocations: 112.8 kB / 1.47 GB, free: 11.95 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008427/0.6208, allocations: 135.9 kB / 1.47 GB, free: 11.81 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.6208, allocations: 38.48 kB / 1.47 GB, free: 11.77 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.6208, allocations: 4 kB / 1.47 GB, free: 11.76 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.001077/0.6219, allocations: 349.3 kB / 1.47 GB, free: 11.41 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.6219, allocations: 63.34 kB / 1.47 GB, free: 11.34 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.6223, allocations: 316.5 kB / 1.471 GB, free: 11.02 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.6224, allocations: 33.7 kB / 1.471 GB, free: 10.98 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.6225, allocations: 188.4 kB / 1.471 GB, free: 10.79 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.6226, allocations: 55.53 kB / 1.471 GB, free: 10.74 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.6227, allocations: 41.7 kB / 1.471 GB, free: 10.69 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6228, allocations: 342.8 kB / 1.471 GB, free: 10.35 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.623, allocations: 83.92 kB / 1.471 GB, free: 10.27 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.6233, allocations: 153.8 kB / 1.471 GB, free: 10.09 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.6237, allocations: 234.7 kB / 1.472 GB, free: 9.844 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6237, allocations: 0 / 1.472 GB, free: 9.844 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006292/0.6244, allocations: 289.8 kB / 1.472 GB, free: 9.555 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6244, allocations: 8 kB / 1.472 GB, free: 9.547 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6244, allocations: 0 / 1.472 GB, free: 9.547 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.6244, allocations: 4 kB / 1.472 GB, free: 9.543 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.6247, allocations: 35.98 kB / 1.472 GB, free: 9.508 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.6247, allocations: 7.984 kB / 1.472 GB, free: 9.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.6249, allocations: 27.78 kB / 1.472 GB, free: 9.473 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.6249, allocations: 15.98 kB / 1.472 GB, free: 9.457 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.000191/0.6251, allocations: 157.8 kB / 1.472 GB, free: 9.293 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.6252, allocations: 27.81 kB / 1.472 GB, free: 9.266 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007434/0.626, allocations: 322.4 kB / 1.473 GB, free: 8.945 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.626, allocations: 3.938 kB / 1.473 GB, free: 8.941 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.626, allocations: 0 / 1.473 GB, free: 8.941 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.626, allocations: 0 / 1.473 GB, free: 8.941 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.6274, allocations: 0.7801 MB / 1.473 GB, free: 8.09 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.6275, allocations: 4.219 kB / 1.473 GB, free: 8.086 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.6276, allocations: 35.97 kB / 1.473 GB, free: 8.051 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.6277, allocations: 7.938 kB / 1.473 GB, free: 8.043 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.6277, allocations: 8 kB / 1.473 GB, free: 8.035 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.6277, allocations: 4 kB / 1.473 GB, free: 8.031 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6277, allocations: 3.938 kB / 1.473 GB, free: 8.027 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/0.6283, allocations: 397.2 kB / 1.474 GB, free: 7.602 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.6285, allocations: 63.66 kB / 1.474 GB, free: 7.539 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.6285, allocations: 7.922 kB / 1.474 GB, free: 7.531 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.6288, allocations: 19.98 kB / 1.474 GB, free: 7.512 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.6289, allocations: 15.98 kB / 1.474 GB, free: 7.496 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.6289, allocations: 11.98 kB / 1.474 GB, free: 7.484 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002552/0.6291, allocations: 223.1 kB / 1.474 GB, free: 7.27 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6291, allocations: 0 / 1.474 GB, free: 7.27 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006386/0.6298, allocations: 119.8 kB / 1.474 GB, free: 7.152 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.001505/0.6313, allocations: 1.066 MB / 1.475 GB, free: 6.035 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005778/0.6319, allocations: 209.3 kB / 1.475 GB, free: 5.832 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.6319, allocations: 4 kB / 1.475 GB, free: 5.828 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.6321, allocations: 120.2 kB / 1.476 GB, free: 5.711 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009765/0.6331, allocations: 162 kB / 1.476 GB, free: 5.555 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.6379, allocations: 3.054 MB / 1.479 GB, free: 2.348 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.6383, allocations: 0.7834 MB / 1.479 GB, free: 1.539 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003325/0.6386, allocations: 82.92 kB / 1.48 GB, free: 1.457 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.6388, allocations: 99.41 kB / 1.48 GB, free: 1.359 MB / 1.17 GB Notification: Performance of SimCode: time 9.22e-07/0.6388, allocations: 7.938 kB / 1.48 GB, free: 1.352 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04904/0.6879, allocations: 10.73 MB / 1.49 GB, free: 6.844 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.02, allocations: 7.094 kB / 1.49 GB, free: 6.84 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senM_flow.m_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv. Warning: Get data of variable senM_flow.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.999465361999683]