Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001745/0.001745, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002097/0.002097, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.628/1.628, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 3.08/3.08, allocations: 476.8 MB / 0.7715 GB, free: 3.918 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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",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.19 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3236, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1865/0.5102, allocations: 150.8 MB / 1.431 GB, free: 3.398 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007855/0.518, allocations: 4.013 MB / 1.435 GB, free: 15.38 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.5188, allocations: 27.75 kB / 1.435 GB, free: 15.35 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.5199, allocations: 334 kB / 1.436 GB, free: 15.02 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.5227, allocations: 1.038 MB / 1.437 GB, free: 13.98 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.5251, allocations: 0.8326 MB / 1.437 GB, free: 13.15 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.5271, allocations: 1.325 MB / 1.439 GB, free: 11.82 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005988/0.5277, allocations: 369.5 kB / 1.439 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.5291, allocations: 0.7161 MB / 1.44 GB, free: 10.74 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.5303, allocations: 491.5 kB / 1.44 GB, free: 10.26 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.55e-05/0.5304, allocations: 52 kB / 1.44 GB, free: 10.21 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.532, allocations: 0.7716 MB / 1.441 GB, free: 9.438 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.5322, allocations: 223.3 kB / 1.441 GB, free: 9.219 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003431/0.5326, allocations: 270.9 kB / 1.441 GB, free: 8.953 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.5343, allocations: 1.121 MB / 1.443 GB, free: 7.828 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5343, allocations: 0 / 1.443 GB, free: 7.828 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5343, allocations: 0 / 1.443 GB, free: 7.828 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.5343, allocations: 3.984 kB / 1.443 GB, free: 7.824 MB / 1.139 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.001771/0.5361, allocations: 0.8974 MB / 1.443 GB, free: 6.891 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.5361, allocations: 12.03 kB / 1.443 GB, free: 6.879 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.965e-05/0.5361, allocations: 9 kB / 1.443 GB, free: 6.871 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.5362, allocations: 82.53 kB / 1.444 GB, free: 6.781 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.538, allocations: 267.4 kB / 1.444 GB, free: 6.52 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009328/0.5389, allocations: 434.6 kB / 1.444 GB, free: 6.07 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.5389, allocations: 29 kB / 1.444 GB, free: 6.043 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.539, allocations: 47.94 kB / 1.444 GB, free: 5.996 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.5406, allocations: 0.8907 MB / 1.445 GB, free: 5.016 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.5406, allocations: 7.969 kB / 1.445 GB, free: 5.008 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.5407, allocations: 16 kB / 1.445 GB, free: 4.992 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.5407, allocations: 21 kB / 1.445 GB, free: 4.969 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.5422, allocations: 0.5464 MB / 1.446 GB, free: 4.426 MB / 1.139 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.004108/0.5463, allocations: 1.915 MB / 1.448 GB, free: 2.434 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.5472, allocations: 270.3 kB / 1.448 GB, free: 2.16 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.5477, allocations: 164.7 kB / 1.448 GB, free: 1.996 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.5478, allocations: 4 kB / 1.448 GB, free: 1.992 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.5478, allocations: 42.5 kB / 1.448 GB, free: 1.941 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/0.5478, allocations: 0 / 1.448 GB, free: 1.941 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.005242/0.553, allocations: 1.013 MB / 1.449 GB, free: 0.918 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.5531, allocations: 85.05 kB / 1.449 GB, free: 0.8164 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.5538, allocations: 0.5457 MB / 1.45 GB, free: 268 kB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.5539, allocations: 29.7 kB / 1.45 GB, free: 232 kB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.5542, allocations: 312.2 kB / 1.45 GB, free: 15.91 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.5542, allocations: 39.67 kB / 1.45 GB, free: 15.88 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.5544, allocations: 61.66 kB / 1.45 GB, free: 15.81 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.5545, allocations: 358.8 kB / 1.45 GB, free: 15.45 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/0.5551, allocations: 183.8 kB / 1.451 GB, free: 15.27 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006733/0.5558, allocations: 296.2 kB / 1.451 GB, free: 14.94 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.557, allocations: 403 kB / 1.451 GB, free: 14.52 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.557, allocations: 0 / 1.451 GB, free: 14.52 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002715/0.5597, allocations: 0.7319 MB / 1.452 GB, free: 13.78 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5597, allocations: 8 kB / 1.452 GB, free: 13.77 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.5597, allocations: 0 / 1.452 GB, free: 13.77 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006715/0.5604, allocations: 192.7 kB / 1.452 GB, free: 13.58 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.5608, allocations: 67.94 kB / 1.452 GB, free: 13.51 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004178/0.5649, allocations: 2.102 MB / 1.454 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.5656, allocations: 79.67 kB / 1.454 GB, free: 11.22 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.5656, allocations: 12 kB / 1.454 GB, free: 11.21 MB / 1.154 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.0003173/0.5659, allocations: 185.8 kB / 1.455 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.566, allocations: 55.61 kB / 1.455 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.5661, allocations: 63.97 kB / 1.455 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5661, allocations: 0 / 1.455 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.5662, allocations: 3.938 kB / 1.455 GB, free: 10.89 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5662, allocations: 4.125 kB / 1.455 GB, free: 10.89 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/0.5693, allocations: 1.038 MB / 1.456 GB, free: 9.793 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.5693, allocations: 4 kB / 1.456 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.5695, allocations: 39.95 kB / 1.456 GB, free: 9.75 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005563/0.5701, allocations: 176.8 kB / 1.456 GB, free: 9.574 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.5701, allocations: 11.98 kB / 1.456 GB, free: 9.562 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003826/0.5739, allocations: 2.06 MB / 1.458 GB, free: 7.387 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5739, allocations: 0 / 1.458 GB, free: 7.387 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.5765, allocations: 0.6965 MB / 1.459 GB, free: 6.664 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.5768, allocations: 99.73 kB / 1.459 GB, free: 6.566 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.5769, allocations: 15.94 kB / 1.459 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.5775, allocations: 46.31 kB / 1.459 GB, free: 6.508 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.5775, allocations: 23.97 kB / 1.459 GB, free: 6.484 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.5776, allocations: 11.98 kB / 1.459 GB, free: 6.473 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005336/0.5781, allocations: 390.8 kB / 1.459 GB, free: 6.094 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5781, allocations: 0 / 1.459 GB, free: 6.094 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006849/0.5788, allocations: 187.7 kB / 1.459 GB, free: 5.91 MB / 1.154 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.0031/0.5819, allocations: 1.284 MB / 1.461 GB, free: 4.586 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.5836, allocations: 0.5256 MB / 1.461 GB, free: 4.047 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5836, allocations: 4 kB / 1.461 GB, free: 4.043 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007231/0.5843, allocations: 291 kB / 1.461 GB, free: 3.746 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.5857, allocations: 317.2 kB / 1.462 GB, free: 3.449 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.5976, allocations: 5.077 MB / 1.467 GB, free: 14.21 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.5979, allocations: 267.9 kB / 1.467 GB, free: 13.92 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004624/0.5984, allocations: 108.5 kB / 1.467 GB, free: 13.81 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.5986, allocations: 159.4 kB / 1.467 GB, free: 13.66 MB / 1.17 GB Notification: Performance of SimCode: time 6.91e-07/0.5986, allocations: 7.938 kB / 1.467 GB, free: 13.65 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04752/0.6461, allocations: 17.88 MB / 1.485 GB, free: 12.24 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.59, allocations: 11.81 kB / 1.485 GB, free: 12.24 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.848318110918626]