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.001417/0.001417, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001566/0.001566, allocations: 160.2 kB / 23.01 MB, free: 4.602 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.405/1.405, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.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 2.841/2.841, allocations: 359.1 MB / 0.6044 GB, free: 14.99 MB / 0.5762 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: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [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.002101/0.002101, allocations: 59.91 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3451, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7888/1.134, allocations: 150.9 MB / 1.265 GB, free: 10.38 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007375/1.141, allocations: 4.036 MB / 1.269 GB, free: 7.652 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/1.142, allocations: 30.94 kB / 1.269 GB, free: 7.637 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/1.143, allocations: 335.5 kB / 1.269 GB, free: 7.457 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002832/1.146, allocations: 1.042 MB / 1.27 GB, free: 6.895 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002439/1.148, allocations: 0.8208 MB / 1.271 GB, free: 6.477 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001992/1.15, allocations: 1.311 MB / 1.272 GB, free: 5.883 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006588/1.151, allocations: 374 kB / 1.272 GB, free: 5.723 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/1.152, allocations: 0.7092 MB / 1.273 GB, free: 5.402 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/1.154, allocations: 468 kB / 1.274 GB, free: 5.234 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.726e-05/1.154, allocations: 51.72 kB / 1.274 GB, free: 5.234 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/1.155, allocations: 0.7576 MB / 1.274 GB, free: 4.996 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/1.156, allocations: 222.9 kB / 1.275 GB, free: 4.895 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003715/1.156, allocations: 278.9 kB / 1.275 GB, free: 4.762 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/1.158, allocations: 1.117 MB / 1.276 GB, free: 4.379 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.158, allocations: 1.375 kB / 1.276 GB, free: 4.379 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.553e-06/1.158, allocations: 0 / 1.276 GB, free: 4.379 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.038e-05/1.158, allocations: 0 / 1.276 GB, free: 4.379 MB / 1.123 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.001859/1.16, allocations: 0.8886 MB / 1.277 GB, free: 3.77 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/1.16, allocations: 9.938 kB / 1.277 GB, free: 3.77 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/1.161, allocations: 261.7 kB / 1.277 GB, free: 3.723 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/1.162, allocations: 442 kB / 1.278 GB, free: 3.434 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/1.162, allocations: 34.53 kB / 1.278 GB, free: 3.414 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/1.162, allocations: 42.33 kB / 1.278 GB, free: 3.398 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.164, allocations: 0.8918 MB / 1.278 GB, free: 2.793 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/1.164, allocations: 1.219 kB / 1.278 GB, free: 2.793 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/1.164, allocations: 21.12 kB / 1.279 GB, free: 2.777 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/1.164, allocations: 19.2 kB / 1.279 GB, free: 2.777 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/1.166, allocations: 0.5435 MB / 1.279 GB, free: 2.617 MB / 1.123 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.004073/1.17, allocations: 1.802 MB / 1.281 GB, free: 1.531 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/1.171, allocations: 273.6 kB / 1.281 GB, free: 1.445 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005695/1.171, allocations: 160.7 kB / 1.281 GB, free: 1.402 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/1.171, allocations: 1.969 kB / 1.281 GB, free: 1.402 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.171, allocations: 42.56 kB / 1.281 GB, free: 1.355 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/1.171, allocations: 0 / 1.281 GB, free: 1.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.005402/1.177, allocations: 1.011 MB / 1.282 GB, free: 1.129 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/1.177, allocations: 80.03 kB / 1.282 GB, free: 1.035 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/1.177, allocations: 423.9 kB / 1.283 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/1.177, allocations: 28.61 kB / 1.283 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/1.178, allocations: 316.4 kB / 1.283 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/1.178, allocations: 40.28 kB / 1.283 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/1.178, allocations: 59.23 kB / 1.283 GB, free: 480 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.178, allocations: 351.1 kB / 1.283 GB, free: 140 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/1.179, allocations: 192.5 kB / 1.284 GB, free: 88 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007482/1.179, allocations: 298.2 kB / 1.284 GB, free: 15.91 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.181, allocations: 409 kB / 1.284 GB, free: 15.73 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.181, allocations: 0 / 1.284 GB, free: 15.73 MB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002809/1.184, allocations: 0.7214 MB / 1.285 GB, free: 15.51 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.184, allocations: 7.938 kB / 1.285 GB, free: 15.51 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.184, allocations: 3.609 kB / 1.285 GB, free: 15.51 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006703/1.184, allocations: 180.3 kB / 1.285 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/1.185, allocations: 71.48 kB / 1.285 GB, free: 15.46 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004329/1.189, allocations: 2.087 MB / 1.287 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/1.19, allocations: 64.22 kB / 1.287 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/1.19, allocations: 14.98 kB / 1.287 GB, free: 13.93 MB / 1.139 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.000349/1.19, allocations: 189.3 kB / 1.288 GB, free: 13.78 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.19, allocations: 40.08 kB / 1.288 GB, free: 13.76 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-05/1.19, allocations: 41.72 kB / 1.288 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.19, allocations: 6.438 kB / 1.288 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/1.19, allocations: 0 / 1.288 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.19, allocations: 4.688 kB / 1.288 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/1.193, allocations: 0.9895 MB / 1.289 GB, free: 13.28 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.193, allocations: 1 kB / 1.289 GB, free: 13.28 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/1.194, allocations: 41.05 kB / 1.289 GB, free: 13.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005789/1.194, allocations: 185.1 kB / 1.289 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/1.194, allocations: 11.55 kB / 1.289 GB, free: 13.21 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/1.198, allocations: 2.032 MB / 1.291 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/1.198, allocations: 5.219 kB / 1.291 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/1.201, allocations: 0.686 MB / 1.292 GB, free: 11.43 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/1.201, allocations: 80.3 kB / 1.292 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/1.201, allocations: 1.75 kB / 1.292 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/1.202, allocations: 53.33 kB / 1.292 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/1.202, allocations: 10.67 kB / 1.292 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/1.202, allocations: 18.34 kB / 1.292 GB, free: 11.38 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000388/1.202, allocations: 285.6 kB / 1.292 GB, free: 11.24 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.202, allocations: 0 / 1.292 GB, free: 11.24 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007823/1.203, allocations: 194.6 kB / 1.292 GB, free: 11.21 MB / 1.139 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.0003187/1.203, allocations: 175 kB / 1.292 GB, free: 11.09 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0017/1.205, allocations: 0.5158 MB / 1.293 GB, free: 10.86 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.205, allocations: 5.438 kB / 1.293 GB, free: 10.86 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008099/1.206, allocations: 296.3 kB / 1.293 GB, free: 10.7 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/1.207, allocations: 201 kB / 1.293 GB, free: 10.66 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/1.21, allocations: 1.055 MB / 1.294 GB, free: 10.15 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/1.211, allocations: 263.2 kB / 1.295 GB, free: 10.05 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003628/1.211, allocations: 87.48 kB / 1.295 GB, free: 10.02 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/1.211, allocations: 30.53 kB / 1.295 GB, free: 10.01 MB / 1.139 GB Notification: Performance of SimCode: time 9.22e-07/1.211, allocations: 3.938 kB / 1.295 GB, free: 10 MB / 1.139 GB Notification: Performance of Templates: time 0.01793/1.229, allocations: 9.652 MB / 1.304 GB, free: 5.934 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] 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: 9.256132475915365]