Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001185/0.001185, 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.001324/0.001324, allocations: 214.4 kB / 22.25 MB, free: 5.078 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.307/1.307, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.852/2.852, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_12_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.00187/0.00187, allocations: 69.89 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2805, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1866/0.4671, allocations: 173.1 MB / 1.495 GB, free: 4.156 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008767/0.4758, allocations: 7.23 MB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.4762, allocations: 15.88 kB / 1.502 GB, free: 12.89 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.4767, allocations: 186.6 kB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.4797, allocations: 1.331 MB / 1.504 GB, free: 11.37 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.4813, allocations: 0.666 MB / 1.504 GB, free: 10.71 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009676/0.4823, allocations: 0.7641 MB / 1.505 GB, free: 9.941 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/0.4827, allocations: 239.2 kB / 1.505 GB, free: 9.703 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.4843, allocations: 0.7551 MB / 1.506 GB, free: 8.945 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008601/0.4852, allocations: 450.4 kB / 1.506 GB, free: 8.504 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.4852, allocations: 28 kB / 1.506 GB, free: 8.477 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.4875, allocations: 1.356 MB / 1.508 GB, free: 7.117 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.4877, allocations: 119.6 kB / 1.508 GB, free: 7 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.4879, allocations: 183.1 kB / 1.508 GB, free: 6.82 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.4894, allocations: 0.9034 MB / 1.509 GB, free: 5.914 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4894, allocations: 0 / 1.509 GB, free: 5.914 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.316e-06/0.4894, allocations: 4 kB / 1.509 GB, free: 5.91 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4894, allocations: 0 / 1.509 GB, free: 5.91 MB / 1.201 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.0009653/0.4903, allocations: 0.6329 MB / 1.509 GB, free: 5.246 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.4904, allocations: 8.031 kB / 1.509 GB, free: 5.238 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.4904, allocations: 70.53 kB / 1.51 GB, free: 5.16 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009291/0.4914, allocations: 135.6 kB / 1.51 GB, free: 5.027 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.4918, allocations: 279.5 kB / 1.51 GB, free: 4.723 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/0.4919, allocations: 76.06 kB / 1.51 GB, free: 4.637 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.492, allocations: 28 kB / 1.51 GB, free: 4.609 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.4926, allocations: 371.2 kB / 1.51 GB, free: 4.227 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4926, allocations: 0 / 1.51 GB, free: 4.227 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.4927, allocations: 12 kB / 1.51 GB, free: 4.215 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4927, allocations: 4 kB / 1.51 GB, free: 4.211 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.4932, allocations: 281.7 kB / 1.511 GB, free: 3.938 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.495, allocations: 1.449 MB / 1.512 GB, free: 2.363 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.4954, allocations: 194.4 kB / 1.512 GB, free: 2.164 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.4957, allocations: 116.8 kB / 1.512 GB, free: 2.047 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007748/0.4964, allocations: 139.8 kB / 1.513 GB, free: 1.91 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.4965, allocations: 30.56 kB / 1.513 GB, free: 1.871 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.4965, allocations: 0 / 1.513 GB, free: 1.871 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0009285/0.4974, allocations: 361.2 kB / 1.513 GB, free: 1.512 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.4974, allocations: 63.33 kB / 1.513 GB, free: 1.438 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.4978, allocations: 312.5 kB / 1.513 GB, free: 1.125 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.4978, allocations: 29.7 kB / 1.513 GB, free: 1.09 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.498, allocations: 184.4 kB / 1.513 GB, free: 0.9062 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.498, allocations: 59.52 kB / 1.514 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.4981, allocations: 41.7 kB / 1.514 GB, free: 0.8008 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4983, allocations: 342.8 kB / 1.514 GB, free: 468 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.4985, allocations: 91.88 kB / 1.514 GB, free: 376 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.4987, allocations: 145.9 kB / 1.514 GB, free: 208 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.4991, allocations: 236.2 kB / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4991, allocations: 0 / 1.514 GB, free: 15.95 MB / 1.217 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005808/0.4997, allocations: 285.2 kB / 1.515 GB, free: 15.67 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4997, allocations: 5.719 kB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4997, allocations: 4 kB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4998, allocations: 4 kB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.5, allocations: 39.91 kB / 1.515 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.5, allocations: 4 kB / 1.515 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.5002, allocations: 31.88 kB / 1.515 GB, free: 15.58 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.5003, allocations: 20.17 kB / 1.515 GB, free: 15.56 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.0001677/0.5004, allocations: 161.6 kB / 1.515 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.5005, allocations: 27.81 kB / 1.515 GB, free: 15.37 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/0.5012, allocations: 314.2 kB / 1.515 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5012, allocations: 0 / 1.515 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5012, allocations: 0 / 1.515 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5012, allocations: 7.984 kB / 1.515 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.5026, allocations: 0.7724 MB / 1.516 GB, free: 14.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.5026, allocations: 4 kB / 1.516 GB, free: 14.2 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.5028, allocations: 39.84 kB / 1.516 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.5028, allocations: 7.938 kB / 1.516 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.5028, allocations: 12 kB / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.5028, allocations: 4 kB / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5028, allocations: 0 / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.5034, allocations: 401.3 kB / 1.516 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.5035, allocations: 67.7 kB / 1.516 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.5036, allocations: 7.938 kB / 1.516 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.5038, allocations: 15.98 kB / 1.516 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.5039, allocations: 19.92 kB / 1.517 GB, free: 13.6 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.5039, allocations: 11.98 kB / 1.517 GB, free: 13.59 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002275/0.5041, allocations: 227 kB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5041, allocations: 0 / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004858/0.5046, allocations: 119.8 kB / 1.517 GB, free: 13.25 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.001199/0.5058, allocations: 1.049 MB / 1.518 GB, free: 12.15 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0004803/0.5063, allocations: 215.9 kB / 1.518 GB, free: 11.94 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5063, allocations: 4.125 kB / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.5065, allocations: 111.8 kB / 1.518 GB, free: 11.82 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.5073, allocations: 160.3 kB / 1.518 GB, free: 11.67 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.5113, allocations: 3.071 MB / 1.521 GB, free: 8.445 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.5118, allocations: 0.7834 MB / 1.522 GB, free: 7.633 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002659/0.512, allocations: 78.88 kB / 1.522 GB, free: 7.555 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.5122, allocations: 103.4 kB / 1.522 GB, free: 7.457 MB / 1.217 GB Notification: Performance of SimCode: time 4.6e-07/0.5122, allocations: 0 / 1.522 GB, free: 7.457 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.5499, allocations: 10.73 MB / 1.533 GB, free: 12.96 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.77, allocations: 0 / 1.533 GB, free: 12.96 MB / 1.232 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.688680720000775]