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.00121/0.00121, 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.001407/0.001407, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.305/1.305, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 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 2.888/2.888, allocations: 0.505 GB / 0.8101 GB, free: 22.15 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.001836/0.001836, allocations: 75.41 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2969, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1828/0.4796, allocations: 173.1 MB / 1.522 GB, free: 10.63 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008902/0.4885, allocations: 7.231 MB / 1.529 GB, free: 3.383 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006749/0.4892, allocations: 19.81 kB / 1.529 GB, free: 3.363 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.4899, allocations: 174.7 kB / 1.529 GB, free: 3.191 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.4934, allocations: 1.334 MB / 1.53 GB, free: 1.852 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.4951, allocations: 0.6637 MB / 1.531 GB, free: 1.191 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0009885/0.4961, allocations: 0.7719 MB / 1.532 GB, free: 428 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.4965, allocations: 247 kB / 1.532 GB, free: 180 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.498, allocations: 0.7395 MB / 1.533 GB, free: 15.43 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.4989, allocations: 462.5 kB / 1.533 GB, free: 14.98 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.4989, allocations: 31.94 kB / 1.533 GB, free: 14.95 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.5012, allocations: 1.36 MB / 1.535 GB, free: 13.59 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.5013, allocations: 123.6 kB / 1.535 GB, free: 13.46 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.5015, allocations: 175.1 kB / 1.535 GB, free: 13.29 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.5028, allocations: 0.9034 MB / 1.536 GB, free: 12.39 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5028, allocations: 3.938 kB / 1.536 GB, free: 12.38 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5028, allocations: 0 / 1.536 GB, free: 12.38 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.5028, allocations: 0 / 1.536 GB, free: 12.38 MB / 1.232 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.00102/0.5039, allocations: 0.6429 MB / 1.536 GB, free: 11.71 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.5039, allocations: 12.03 kB / 1.536 GB, free: 11.7 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.9e-05/0.504, allocations: 62.53 kB / 1.537 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000946/0.5049, allocations: 135.6 kB / 1.537 GB, free: 11.5 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.5055, allocations: 275.5 kB / 1.537 GB, free: 11.2 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.5056, allocations: 80.05 kB / 1.537 GB, free: 11.11 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.5056, allocations: 24 kB / 1.537 GB, free: 11.09 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.5063, allocations: 367.2 kB / 1.537 GB, free: 10.71 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5063, allocations: 4 kB / 1.537 GB, free: 10.7 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.5063, allocations: 16 kB / 1.537 GB, free: 10.69 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.5063, allocations: 8 kB / 1.537 GB, free: 10.68 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.5069, allocations: 273.7 kB / 1.538 GB, free: 10.41 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.5088, allocations: 1.453 MB / 1.539 GB, free: 8.836 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.5091, allocations: 190.4 kB / 1.539 GB, free: 8.641 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.5094, allocations: 108.8 kB / 1.539 GB, free: 8.531 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007247/0.5101, allocations: 135.8 kB / 1.539 GB, free: 8.398 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.5101, allocations: 34.56 kB / 1.54 GB, free: 8.355 MB / 1.232 GB Notification: Performance of pre-optimization done (n=15): time 3.075e-06/0.5101, allocations: 4 kB / 1.54 GB, free: 8.352 MB / 1.232 GB Notification: Performance of matching and sorting (n=15): time 0.0008993/0.511, allocations: 354.9 kB / 1.54 GB, free: 8 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.5111, allocations: 59.34 kB / 1.54 GB, free: 7.93 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.5114, allocations: 316.5 kB / 1.54 GB, free: 7.609 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.5114, allocations: 25.7 kB / 1.54 GB, free: 7.578 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.5116, allocations: 184.4 kB / 1.54 GB, free: 7.395 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.5116, allocations: 55.53 kB / 1.54 GB, free: 7.34 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.5117, allocations: 45.66 kB / 1.541 GB, free: 7.289 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5119, allocations: 346.7 kB / 1.541 GB, free: 6.941 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.5121, allocations: 83.94 kB / 1.541 GB, free: 6.859 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.5123, allocations: 149.9 kB / 1.541 GB, free: 6.691 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.5127, allocations: 237.8 kB / 1.541 GB, free: 6.438 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5127, allocations: 0 / 1.541 GB, free: 6.438 MB / 1.232 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005499/0.5133, allocations: 283.2 kB / 1.542 GB, free: 6.156 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5133, allocations: 10.34 kB / 1.542 GB, free: 6.148 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5133, allocations: 48 / 1.542 GB, free: 6.148 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.5133, allocations: 8.172 kB / 1.542 GB, free: 6.141 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.5135, allocations: 47.91 kB / 1.542 GB, free: 6.094 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.5135, allocations: 0 / 1.542 GB, free: 6.094 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.5137, allocations: 31.83 kB / 1.542 GB, free: 6.062 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.5138, allocations: 8 kB / 1.542 GB, free: 6.055 MB / 1.232 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.0001595/0.5139, allocations: 165.6 kB / 1.542 GB, free: 5.883 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.514, allocations: 35.73 kB / 1.542 GB, free: 5.848 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006702/0.5147, allocations: 314.5 kB / 1.542 GB, free: 5.535 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5147, allocations: 0 / 1.542 GB, free: 5.535 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5147, allocations: 0 / 1.542 GB, free: 5.535 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5147, allocations: 4 kB / 1.542 GB, free: 5.531 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.516, allocations: 0.7762 MB / 1.543 GB, free: 4.684 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.516, allocations: 8 kB / 1.543 GB, free: 4.676 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.5162, allocations: 35.92 kB / 1.543 GB, free: 4.641 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5162, allocations: 3.938 kB / 1.543 GB, free: 4.637 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.5162, allocations: 8.219 kB / 1.543 GB, free: 4.629 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.5162, allocations: 7.938 kB / 1.543 GB, free: 4.621 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5162, allocations: 0 / 1.543 GB, free: 4.621 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.5168, allocations: 409.1 kB / 1.543 GB, free: 4.184 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.5169, allocations: 63.7 kB / 1.543 GB, free: 4.121 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.517, allocations: 8.031 kB / 1.543 GB, free: 4.113 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.5172, allocations: 19.92 kB / 1.543 GB, free: 4.094 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.5173, allocations: 15.97 kB / 1.543 GB, free: 4.078 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.5173, allocations: 12 kB / 1.543 GB, free: 4.066 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002219/0.5175, allocations: 231 kB / 1.544 GB, free: 3.844 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5175, allocations: 0 / 1.544 GB, free: 3.844 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004779/0.518, allocations: 123.8 kB / 1.544 GB, free: 3.723 MB / 1.232 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.001177/0.5192, allocations: 1.038 MB / 1.545 GB, free: 2.633 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.5197, allocations: 211.7 kB / 1.545 GB, free: 2.426 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.5197, allocations: 4 kB / 1.545 GB, free: 2.422 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.5199, allocations: 112.6 kB / 1.545 GB, free: 2.312 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.5207, allocations: 160.3 kB / 1.545 GB, free: 2.156 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.5245, allocations: 3.068 MB / 1.548 GB, free: 14.94 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.5249, allocations: 0.7873 MB / 1.549 GB, free: 14.12 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0002471/0.5252, allocations: 82.88 kB / 1.549 GB, free: 14.04 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.5253, allocations: 99.41 kB / 1.549 GB, free: 13.94 MB / 1.248 GB Notification: Performance of SimCode: time 3e-07/0.5253, allocations: 0 / 1.549 GB, free: 13.94 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03852/0.5638, allocations: 10.72 MB / 1.56 GB, free: 3.426 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.8, allocations: 10.91 kB / 1.56 GB, free: 3.422 MB / 1.248 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: 16.764795950000007]