Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001417/0.001417, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001608/0.001608, allocations: 215.1 kB / 23.04 MB, free: 5.074 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.308/1.308, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.821/2.821, allocations: 0.49 GB / 0.7959 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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_12_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.001865/0.001865, allocations: 74.08 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2899, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1886/0.4785, allocations: 174.7 MB / 1.497 GB, free: 2.605 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006544/0.4851, allocations: 4.328 MB / 1.501 GB, free: 14.27 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006969/0.4858, allocations: 27.75 kB / 1.502 GB, free: 14.24 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.4868, allocations: 370 kB / 1.502 GB, free: 13.88 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.4893, allocations: 1.042 MB / 1.503 GB, free: 12.83 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.4915, allocations: 0.8422 MB / 1.504 GB, free: 12 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.4933, allocations: 1.309 MB / 1.505 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006067/0.4939, allocations: 380 kB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.4954, allocations: 0.7434 MB / 1.506 GB, free: 9.555 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.4966, allocations: 476.8 kB / 1.507 GB, free: 9.09 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.93e-05/0.4967, allocations: 52 kB / 1.507 GB, free: 9.039 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.4983, allocations: 0.9471 MB / 1.508 GB, free: 8.09 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.4986, allocations: 227.3 kB / 1.508 GB, free: 7.867 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.4989, allocations: 326.5 kB / 1.508 GB, free: 7.547 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.5006, allocations: 1.145 MB / 1.509 GB, free: 6.398 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5006, allocations: 0 / 1.509 GB, free: 6.398 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5006, allocations: 4 kB / 1.509 GB, free: 6.395 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.5007, allocations: 0 / 1.509 GB, free: 6.395 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001659/0.5023, allocations: 0.8858 MB / 1.51 GB, free: 5.477 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.5024, allocations: 12.03 kB / 1.51 GB, free: 5.465 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.415e-05/0.5024, allocations: 13 kB / 1.51 GB, free: 5.453 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.657e-05/0.5025, allocations: 86.52 kB / 1.51 GB, free: 5.359 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.5041, allocations: 271.3 kB / 1.51 GB, free: 5.094 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.5051, allocations: 442.5 kB / 1.511 GB, free: 4.637 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.5052, allocations: 29 kB / 1.511 GB, free: 4.605 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.5053, allocations: 44 kB / 1.511 GB, free: 4.562 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.5065, allocations: 0.6107 MB / 1.511 GB, free: 3.926 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5065, allocations: 4 kB / 1.511 GB, free: 3.922 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.5066, allocations: 16 kB / 1.511 GB, free: 3.906 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.5066, allocations: 21 kB / 1.512 GB, free: 3.887 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.508, allocations: 0.5464 MB / 1.512 GB, free: 3.34 MB / 1.201 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.003967/0.5119, allocations: 2.217 MB / 1.514 GB, free: 1.008 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008985/0.5128, allocations: 286.2 kB / 1.514 GB, free: 0.7188 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.5134, allocations: 160.7 kB / 1.515 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.5134, allocations: 11.97 kB / 1.515 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.5134, allocations: 38.55 kB / 1.515 GB, free: 0.5 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.953e-06/0.5134, allocations: 3.938 kB / 1.515 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.004869/0.5183, allocations: 1.021 MB / 1.516 GB, free: 15.46 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.5184, allocations: 81.05 kB / 1.516 GB, free: 15.36 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.519, allocations: 0.5457 MB / 1.516 GB, free: 14.81 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.5191, allocations: 29.7 kB / 1.516 GB, free: 14.77 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.5193, allocations: 308 kB / 1.517 GB, free: 14.47 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.5194, allocations: 39.69 kB / 1.517 GB, free: 14.43 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.5195, allocations: 57.66 kB / 1.517 GB, free: 14.37 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5196, allocations: 354.8 kB / 1.517 GB, free: 14.01 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.5202, allocations: 191.8 kB / 1.517 GB, free: 13.82 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.5208, allocations: 265.2 kB / 1.517 GB, free: 13.53 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.522, allocations: 413.9 kB / 1.518 GB, free: 13.1 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.522, allocations: 0 / 1.518 GB, free: 13.1 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002583/0.5245, allocations: 0.73 MB / 1.519 GB, free: 12.36 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5246, allocations: 11.98 kB / 1.519 GB, free: 12.35 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.5246, allocations: 4.094 kB / 1.519 GB, free: 12.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.5252, allocations: 180.7 kB / 1.519 GB, free: 12.17 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.5255, allocations: 71.88 kB / 1.519 GB, free: 12.1 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/0.5294, allocations: 2.139 MB / 1.521 GB, free: 9.844 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.5299, allocations: 71.62 kB / 1.521 GB, free: 9.773 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.53, allocations: 16 kB / 1.521 GB, free: 9.758 MB / 1.217 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.0002547/0.5302, allocations: 185.8 kB / 1.521 GB, free: 9.566 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.5303, allocations: 63.59 kB / 1.521 GB, free: 9.504 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/0.5304, allocations: 48.05 kB / 1.521 GB, free: 9.457 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5304, allocations: 0 / 1.521 GB, free: 9.457 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5304, allocations: 7.984 kB / 1.521 GB, free: 9.449 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5304, allocations: 0 / 1.521 GB, free: 9.449 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.5333, allocations: 1.093 MB / 1.522 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5333, allocations: 4.062 kB / 1.522 GB, free: 8.293 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.5336, allocations: 39.95 kB / 1.522 GB, free: 8.254 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000517/0.5341, allocations: 188.7 kB / 1.523 GB, free: 8.066 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.5341, allocations: 7.922 kB / 1.523 GB, free: 8.059 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00349/0.5376, allocations: 2.095 MB / 1.525 GB, free: 5.844 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5376, allocations: 4.031 kB / 1.525 GB, free: 5.84 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.54, allocations: 0.6887 MB / 1.525 GB, free: 5.125 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.5403, allocations: 95.61 kB / 1.525 GB, free: 5.031 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.5404, allocations: 15.94 kB / 1.525 GB, free: 5.016 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.5409, allocations: 43.92 kB / 1.525 GB, free: 4.973 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.541, allocations: 23.97 kB / 1.526 GB, free: 4.949 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.541, allocations: 11.98 kB / 1.526 GB, free: 4.938 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004785/0.5415, allocations: 390.8 kB / 1.526 GB, free: 4.559 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5415, allocations: 0 / 1.526 GB, free: 4.559 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006237/0.5421, allocations: 187.7 kB / 1.526 GB, free: 4.375 MB / 1.217 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.002932/0.545, allocations: 1.308 MB / 1.527 GB, free: 3.027 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.5466, allocations: 0.5121 MB / 1.528 GB, free: 2.504 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5466, allocations: 384 / 1.528 GB, free: 2.504 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.5473, allocations: 302.6 kB / 1.528 GB, free: 2.195 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.5487, allocations: 303.1 kB / 1.528 GB, free: 1.902 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.5597, allocations: 5.081 MB / 1.533 GB, free: 12.67 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.5602, allocations: 0.866 MB / 1.534 GB, free: 11.77 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003895/0.5606, allocations: 100.5 kB / 1.534 GB, free: 11.67 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.5608, allocations: 163.4 kB / 1.534 GB, free: 11.52 MB / 1.232 GB Notification: Performance of SimCode: time 7.41e-07/0.5608, allocations: 0 / 1.534 GB, free: 11.52 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.6071, allocations: 17.2 MB / 1.551 GB, free: 10.64 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.15, allocations: 9.75 kB / 1.551 GB, free: 10.63 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.138567055983003]