Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001898/0.001898, allocations: 105.2 kB / 16.45 MB, free: 6.449 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.002597/0.002597, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.466/1.466, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.123/3.123, allocations: 0.505 GB / 0.8066 GB, free: 23.09 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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.002024/0.002024, allocations: 65.83 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 180.2 MB / 1.348 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1946/0.5087, allocations: 174.5 MB / 1.518 GB, free: 10.88 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00682/0.5155, allocations: 4.311 MB / 1.522 GB, free: 6.562 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006287/0.5161, allocations: 31.75 kB / 1.522 GB, free: 6.531 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.5171, allocations: 365.9 kB / 1.523 GB, free: 6.172 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.5195, allocations: 1.023 MB / 1.524 GB, free: 5.145 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.5216, allocations: 0.8312 MB / 1.525 GB, free: 4.316 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.5234, allocations: 1.296 MB / 1.526 GB, free: 3.02 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006891/0.5241, allocations: 407.4 kB / 1.526 GB, free: 2.613 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.5256, allocations: 0.7356 MB / 1.527 GB, free: 1.875 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.5267, allocations: 479 kB / 1.527 GB, free: 1.41 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.5268, allocations: 52 kB / 1.527 GB, free: 1.359 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.5285, allocations: 0.9393 MB / 1.528 GB, free: 428 kB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.5287, allocations: 215.4 kB / 1.529 GB, free: 212 kB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.5291, allocations: 334.5 kB / 1.529 GB, free: 15.88 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.5308, allocations: 1.145 MB / 1.53 GB, free: 14.73 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5309, allocations: 0 / 1.53 GB, free: 14.73 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5309, allocations: 0 / 1.53 GB, free: 14.73 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.5309, allocations: 0 / 1.53 GB, free: 14.73 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001764/0.5326, allocations: 0.965 MB / 1.531 GB, free: 13.71 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5327, allocations: 15.98 kB / 1.531 GB, free: 13.7 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.5328, allocations: 90.5 kB / 1.531 GB, free: 13.6 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.5344, allocations: 267.3 kB / 1.531 GB, free: 13.34 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/0.5354, allocations: 0.49 MB / 1.532 GB, free: 12.81 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.5354, allocations: 36.94 kB / 1.532 GB, free: 12.78 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.5355, allocations: 36 kB / 1.532 GB, free: 12.74 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.5368, allocations: 0.6146 MB / 1.532 GB, free: 12.1 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5369, allocations: 4 kB / 1.532 GB, free: 12.1 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.5369, allocations: 27.98 kB / 1.532 GB, free: 12.07 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/0.537, allocations: 20.98 kB / 1.532 GB, free: 12.05 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.5385, allocations: 0.5464 MB / 1.533 GB, free: 11.5 MB / 1.232 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.004493/0.543, allocations: 2.273 MB / 1.535 GB, free: 9.098 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.544, allocations: 270.3 kB / 1.535 GB, free: 8.824 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.5446, allocations: 168.7 kB / 1.536 GB, free: 8.656 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.5446, allocations: 7.969 kB / 1.536 GB, free: 8.648 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.5446, allocations: 38.56 kB / 1.536 GB, free: 8.602 MB / 1.232 GB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.5446, allocations: 0 / 1.536 GB, free: 8.602 MB / 1.232 GB Notification: Performance of matching and sorting (n=11): time 0.005337/0.55, allocations: 1.084 MB / 1.537 GB, free: 7.488 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.55, allocations: 88.98 kB / 1.537 GB, free: 7.383 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007154/0.5508, allocations: 0.5573 MB / 1.537 GB, free: 6.816 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.5508, allocations: 29.7 kB / 1.537 GB, free: 6.781 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.5511, allocations: 304.1 kB / 1.538 GB, free: 6.48 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.5511, allocations: 47.58 kB / 1.538 GB, free: 6.434 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.5512, allocations: 61.66 kB / 1.538 GB, free: 6.367 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5514, allocations: 358.8 kB / 1.538 GB, free: 6.008 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.552, allocations: 195.8 kB / 1.538 GB, free: 5.816 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006839/0.5527, allocations: 261.3 kB / 1.539 GB, free: 5.527 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.5539, allocations: 407.4 kB / 1.539 GB, free: 5.102 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.5539, allocations: 0 / 1.539 GB, free: 5.102 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002776/0.5567, allocations: 0.7241 MB / 1.54 GB, free: 4.367 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5567, allocations: 4 kB / 1.54 GB, free: 4.363 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5567, allocations: 4 kB / 1.54 GB, free: 4.359 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006583/0.5574, allocations: 180.8 kB / 1.54 GB, free: 4.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.5578, allocations: 75.88 kB / 1.54 GB, free: 4.105 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/0.5619, allocations: 2.224 MB / 1.542 GB, free: 1.746 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/0.5625, allocations: 75.64 kB / 1.542 GB, free: 1.672 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.5626, allocations: 19.98 kB / 1.542 GB, free: 1.652 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003019/0.5629, allocations: 189.7 kB / 1.542 GB, free: 1.457 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.563, allocations: 55.72 kB / 1.542 GB, free: 1.402 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.5631, allocations: 51.97 kB / 1.542 GB, free: 1.352 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.5631, allocations: 7.938 kB / 1.542 GB, free: 1.344 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.5631, allocations: 0 / 1.542 GB, free: 1.344 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5631, allocations: 0 / 1.542 GB, free: 1.344 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.5663, allocations: 1.133 MB / 1.544 GB, free: 148 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5663, allocations: 4 kB / 1.544 GB, free: 144 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.5666, allocations: 40.02 kB / 1.544 GB, free: 104 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005924/0.5672, allocations: 180.7 kB / 1.544 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.5672, allocations: 8 kB / 1.544 GB, free: 15.91 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003878/0.5711, allocations: 2.191 MB / 1.546 GB, free: 13.58 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5711, allocations: 0 / 1.546 GB, free: 13.58 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.5737, allocations: 0.7004 MB / 1.547 GB, free: 12.86 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.574, allocations: 160.8 kB / 1.547 GB, free: 12.68 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.574, allocations: 8 kB / 1.547 GB, free: 12.67 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/0.5746, allocations: 51.88 kB / 1.547 GB, free: 12.62 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.5747, allocations: 15.92 kB / 1.547 GB, free: 12.61 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.5747, allocations: 11.98 kB / 1.547 GB, free: 12.59 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005102/0.5753, allocations: 398.8 kB / 1.547 GB, free: 12.21 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5753, allocations: 4 kB / 1.547 GB, free: 12.2 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006644/0.5759, allocations: 183.7 kB / 1.547 GB, free: 12.02 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003121/0.579, allocations: 1.3 MB / 1.549 GB, free: 10.69 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.5807, allocations: 0.5201 MB / 1.549 GB, free: 10.16 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5807, allocations: 4 kB / 1.549 GB, free: 10.15 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.5815, allocations: 299 kB / 1.55 GB, free: 9.848 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.5829, allocations: 312.4 kB / 1.55 GB, free: 9.547 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.5948, allocations: 5.082 MB / 1.555 GB, free: 4.301 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.5954, allocations: 0.8659 MB / 1.556 GB, free: 3.406 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000416/0.5958, allocations: 104.5 kB / 1.556 GB, free: 3.301 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.596, allocations: 159.4 kB / 1.556 GB, free: 3.145 MB / 1.248 GB Notification: Performance of SimCode: time 7.91e-07/0.596, allocations: 0 / 1.556 GB, free: 3.145 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07377/0.6698, allocations: 16.97 MB / 1.572 GB, free: 2.52 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.58, allocations: 26.95 kB / 1.572 GB, free: 2.5 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.ports[1].m_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.10804555704817]