Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.348 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.341/2.341, allocations: 443.5 MB / 0.7304 GB, free: 14.14 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.89 kB / 1.059 GB, free: 1.059 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2513, allocations: 160.7 MB / 1.216 GB, free: 28 kB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6894/0.9407, allocations: 171.8 MB / 1.383 GB, free: 7.422 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007225/0.9479, allocations: 4.322 MB / 1.387 GB, free: 4.379 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008847/0.9488, allocations: 22.72 kB / 1.388 GB, free: 4.371 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.9499, allocations: 367.8 kB / 1.388 GB, free: 4.172 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003042/0.953, allocations: 1.032 MB / 1.389 GB, free: 3.422 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.9554, allocations: 0.8257 MB / 1.39 GB, free: 2.816 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002133/0.9575, allocations: 1.311 MB / 1.391 GB, free: 2.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007422/0.9583, allocations: 375.4 kB / 1.391 GB, free: 1.809 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.9599, allocations: 0.692 MB / 1.392 GB, free: 1.391 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.9612, allocations: 488 kB / 1.392 GB, free: 1.109 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.9614, allocations: 55.22 kB / 1.393 GB, free: 1.105 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.9632, allocations: 0.9459 MB / 1.393 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.9635, allocations: 219.8 kB / 1.394 GB, free: 436 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.964, allocations: 329.7 kB / 1.394 GB, free: 228 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.9658, allocations: 1.138 MB / 1.395 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.9658, allocations: 0 / 1.395 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9658, allocations: 1.406 kB / 1.395 GB, free: 15.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.9658, allocations: 0 / 1.395 GB, free: 15.5 MB / 1.076 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.001861/0.9677, allocations: 0.9669 MB / 1.396 GB, free: 14.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.9677, allocations: 9.344 kB / 1.396 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.9679, allocations: 82.77 kB / 1.396 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.9695, allocations: 270.5 kB / 1.396 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/0.9704, allocations: 0.4893 MB / 1.397 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.9704, allocations: 33.91 kB / 1.397 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.9705, allocations: 42.11 kB / 1.397 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.9717, allocations: 0.6147 MB / 1.398 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.9717, allocations: 1.094 kB / 1.398 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.9718, allocations: 16.59 kB / 1.398 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.9718, allocations: 25.67 kB / 1.398 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.9732, allocations: 0.5479 MB / 1.398 GB, free: 13.4 MB / 1.076 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.003896/0.9771, allocations: 2.26 MB / 1.4 GB, free: 11.56 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009019/0.978, allocations: 286.9 kB / 1.401 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.9785, allocations: 159.6 kB / 1.401 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.9785, allocations: 6.156 kB / 1.401 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.9786, allocations: 44.8 kB / 1.401 GB, free: 11.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.9786, allocations: 0 / 1.401 GB, free: 11.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.00489/0.9835, allocations: 1.081 MB / 1.402 GB, free: 10.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.9835, allocations: 82.48 kB / 1.402 GB, free: 10.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.9842, allocations: 0.5598 MB / 1.402 GB, free: 10.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.9842, allocations: 26.92 kB / 1.402 GB, free: 10.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.9844, allocations: 305.4 kB / 1.403 GB, free: 9.957 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.9845, allocations: 45.14 kB / 1.403 GB, free: 9.918 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.9846, allocations: 60.88 kB / 1.403 GB, free: 9.875 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.9848, allocations: 353.7 kB / 1.403 GB, free: 9.531 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/0.9854, allocations: 195 kB / 1.403 GB, free: 9.441 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/0.9861, allocations: 269.7 kB / 1.404 GB, free: 9.254 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.9872, allocations: 409.6 kB / 1.404 GB, free: 9.004 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9872, allocations: 1.125 kB / 1.404 GB, free: 9.004 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002495/0.9897, allocations: 0.7248 MB / 1.405 GB, free: 8.633 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.9897, allocations: 5.688 kB / 1.405 GB, free: 8.633 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.9897, allocations: 6.438 kB / 1.405 GB, free: 8.629 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.9903, allocations: 181 kB / 1.405 GB, free: 8.547 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.9907, allocations: 69.66 kB / 1.405 GB, free: 8.527 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/0.9945, allocations: 2.242 MB / 1.407 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.9951, allocations: 80.05 kB / 1.407 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.9952, allocations: 10.41 kB / 1.407 GB, free: 6.582 MB / 1.076 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.0002481/0.9954, allocations: 192.1 kB / 1.407 GB, free: 6.418 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.9955, allocations: 58.25 kB / 1.408 GB, free: 6.387 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.913e-05/0.9956, allocations: 51.72 kB / 1.408 GB, free: 6.352 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9956, allocations: 2.438 kB / 1.408 GB, free: 6.352 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.9956, allocations: 0 / 1.408 GB, free: 6.352 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.9956, allocations: 0 / 1.408 GB, free: 6.352 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.9985, allocations: 1.135 MB / 1.409 GB, free: 5.547 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9986, allocations: 2.906 kB / 1.409 GB, free: 5.547 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.9988, allocations: 42.86 kB / 1.409 GB, free: 5.527 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/0.9993, allocations: 187.2 kB / 1.409 GB, free: 5.438 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.9993, allocations: 3.188 kB / 1.409 GB, free: 5.438 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/1.003, allocations: 2.19 MB / 1.411 GB, free: 3.555 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.003, allocations: 0 / 1.411 GB, free: 3.555 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/1.005, allocations: 0.702 MB / 1.412 GB, free: 3.121 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/1.006, allocations: 170.9 kB / 1.412 GB, free: 2.965 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/1.006, allocations: 2.25 kB / 1.412 GB, free: 2.965 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/1.006, allocations: 56.06 kB / 1.412 GB, free: 2.938 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/1.006, allocations: 8.984 kB / 1.412 GB, free: 2.934 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/1.006, allocations: 15.89 kB / 1.412 GB, free: 2.926 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004359/1.007, allocations: 396.4 kB / 1.412 GB, free: 2.695 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.007, allocations: 0 / 1.412 GB, free: 2.695 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006216/1.007, allocations: 182.6 kB / 1.413 GB, free: 2.668 MB / 1.076 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.002962/1.01, allocations: 1.331 MB / 1.414 GB, free: 1.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001487/1.012, allocations: 0.5181 MB / 1.414 GB, free: 1.352 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.012, allocations: 4.125 kB / 1.414 GB, free: 1.348 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006944/1.013, allocations: 297.4 kB / 1.415 GB, free: 1.141 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/1.014, allocations: 298.7 kB / 1.415 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.024, allocations: 5.079 MB / 1.42 GB, free: 13.76 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/1.025, allocations: 0.8685 MB / 1.421 GB, free: 12.97 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003587/1.025, allocations: 105.5 kB / 1.421 GB, free: 12.92 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/1.025, allocations: 156.6 kB / 1.421 GB, free: 12.79 MB / 1.092 GB Notification: Performance of SimCode: time 5.91e-07/1.025, allocations: 4 kB / 1.421 GB, free: 12.79 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/1.074, allocations: 16.99 MB / 1.438 GB, free: 12.3 MB / 1.108 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.35, allocations: 4 kB / 1.438 GB, free: 12.3 MB / 1.108 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.56153341800382]