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.001402/0.001402, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001553/0.001553, allocations: 218.7 kB / 22.26 MB, free: 5.125 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 MB, free: 7.973 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.7951 GB, free: 33.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_12_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.001864/0.001864, allocations: 64 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2704, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1813/0.4517, allocations: 174.7 MB / 1.497 GB, free: 2.555 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006496/0.4582, allocations: 4.324 MB / 1.501 GB, free: 14.22 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006347/0.4588, allocations: 31.75 kB / 1.501 GB, free: 14.19 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.4598, allocations: 369.9 kB / 1.501 GB, free: 13.83 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.4623, allocations: 1.042 MB / 1.502 GB, free: 12.78 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.4643, allocations: 0.8446 MB / 1.503 GB, free: 11.94 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.466, allocations: 1.317 MB / 1.504 GB, free: 10.62 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000604/0.4666, allocations: 376 kB / 1.505 GB, free: 10.24 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.4679, allocations: 0.7395 MB / 1.505 GB, free: 9.5 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.469, allocations: 485.3 kB / 1.506 GB, free: 9.027 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.4691, allocations: 52 kB / 1.506 GB, free: 8.977 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.4706, allocations: 0.951 MB / 1.507 GB, free: 8.023 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.4708, allocations: 211.3 kB / 1.507 GB, free: 7.816 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.4712, allocations: 334.5 kB / 1.507 GB, free: 7.488 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.4728, allocations: 1.141 MB / 1.508 GB, free: 6.344 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4728, allocations: 4 kB / 1.508 GB, free: 6.34 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.031e-06/0.4728, allocations: 0 / 1.508 GB, free: 6.34 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.4728, allocations: 0 / 1.508 GB, free: 6.34 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.00175/0.4746, allocations: 0.8936 MB / 1.509 GB, free: 5.414 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4746, allocations: 8.031 kB / 1.509 GB, free: 5.406 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.4747, allocations: 86.53 kB / 1.509 GB, free: 5.312 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.4763, allocations: 263.3 kB / 1.51 GB, free: 5.055 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008822/0.4772, allocations: 442.5 kB / 1.51 GB, free: 4.598 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.4772, allocations: 29 kB / 1.51 GB, free: 4.57 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.4773, allocations: 43.98 kB / 1.51 GB, free: 4.527 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.4785, allocations: 0.6146 MB / 1.511 GB, free: 3.887 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4785, allocations: 0 / 1.511 GB, free: 3.887 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.4786, allocations: 23.98 kB / 1.511 GB, free: 3.863 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.4786, allocations: 17 kB / 1.511 GB, free: 3.848 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.4799, allocations: 0.558 MB / 1.511 GB, free: 3.289 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.003873/0.4838, allocations: 2.217 MB / 1.513 GB, free: 0.957 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008535/0.4847, allocations: 274.3 kB / 1.514 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.4852, allocations: 168.6 kB / 1.514 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.4852, allocations: 8 kB / 1.514 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4852, allocations: 34.56 kB / 1.514 GB, free: 472 kB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.4852, allocations: 0 / 1.514 GB, free: 472 kB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.004736/0.4899, allocations: 1.013 MB / 1.515 GB, free: 15.44 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.49, allocations: 81.11 kB / 1.515 GB, free: 15.34 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006436/0.4906, allocations: 0.5535 MB / 1.516 GB, free: 14.78 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.4907, allocations: 29.7 kB / 1.516 GB, free: 14.74 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.4909, allocations: 308 kB / 1.516 GB, free: 14.44 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.491, allocations: 43.69 kB / 1.516 GB, free: 14.39 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.4911, allocations: 61.64 kB / 1.516 GB, free: 14.33 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4912, allocations: 354.8 kB / 1.516 GB, free: 13.97 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.4918, allocations: 191.8 kB / 1.516 GB, free: 13.79 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.4924, allocations: 269.2 kB / 1.517 GB, free: 13.49 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.4934, allocations: 405.9 kB / 1.517 GB, free: 13.06 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4934, allocations: 4 kB / 1.517 GB, free: 13.06 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002505/0.4959, allocations: 0.7319 MB / 1.518 GB, free: 12.32 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4959, allocations: 4 kB / 1.518 GB, free: 12.31 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.496, allocations: 4 kB / 1.518 GB, free: 12.31 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/0.4965, allocations: 180.8 kB / 1.518 GB, free: 12.13 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.4969, allocations: 75.88 kB / 1.518 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.5007, allocations: 2.137 MB / 1.52 GB, free: 9.805 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.5013, allocations: 71.69 kB / 1.52 GB, free: 9.734 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.5013, allocations: 12 kB / 1.52 GB, free: 9.723 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.0002679/0.5016, allocations: 189.8 kB / 1.52 GB, free: 9.527 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.5017, allocations: 59.61 kB / 1.52 GB, free: 9.469 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.5018, allocations: 51.97 kB / 1.521 GB, free: 9.418 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5018, allocations: 4 kB / 1.521 GB, free: 9.414 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.5018, allocations: 0 / 1.521 GB, free: 9.414 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.5018, allocations: 3.984 kB / 1.521 GB, free: 9.41 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.5048, allocations: 1.108 MB / 1.522 GB, free: 8.242 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5048, allocations: 0 / 1.522 GB, free: 8.242 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.505, allocations: 43.95 kB / 1.522 GB, free: 8.199 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005072/0.5055, allocations: 180.7 kB / 1.522 GB, free: 8.02 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.5055, allocations: 7.984 kB / 1.522 GB, free: 8.012 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/0.509, allocations: 2.092 MB / 1.524 GB, free: 5.805 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.509, allocations: 0 / 1.524 GB, free: 5.805 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/0.5114, allocations: 0.7003 MB / 1.525 GB, free: 5.078 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.5116, allocations: 91.61 kB / 1.525 GB, free: 4.988 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.422e-05/0.5117, allocations: 4 kB / 1.525 GB, free: 4.984 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.5122, allocations: 55.88 kB / 1.525 GB, free: 4.93 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.5123, allocations: 7.984 kB / 1.525 GB, free: 4.922 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.5123, allocations: 19.98 kB / 1.525 GB, free: 4.902 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004494/0.5128, allocations: 394.8 kB / 1.525 GB, free: 4.52 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5128, allocations: 0 / 1.525 GB, free: 4.52 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005686/0.5133, allocations: 183.7 kB / 1.525 GB, free: 4.34 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.002798/0.5161, allocations: 1.31 MB / 1.527 GB, free: 2.992 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.5176, allocations: 0.5101 MB / 1.527 GB, free: 2.469 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5176, allocations: 384 / 1.527 GB, free: 2.469 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.5182, allocations: 306.6 kB / 1.527 GB, free: 2.156 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.5196, allocations: 305.9 kB / 1.528 GB, free: 1.859 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.5303, allocations: 5.076 MB / 1.533 GB, free: 12.63 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.5307, allocations: 0.862 MB / 1.533 GB, free: 11.74 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003787/0.5311, allocations: 104.5 kB / 1.534 GB, free: 11.64 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.5313, allocations: 163.4 kB / 1.534 GB, free: 11.48 MB / 1.232 GB Notification: Performance of SimCode: time 8.51e-07/0.5313, allocations: 0 / 1.534 GB, free: 11.48 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04954/0.5809, allocations: 17.18 MB / 1.55 GB, free: 10.61 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.79, allocations: 11.38 kB / 1.551 GB, free: 10.6 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: 18.621415339177474]