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.001684/0.001684, allocations: 102 kB / 16.45 MB, free: 6.449 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.001969/0.001969, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.588/1.588, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] 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 3.496/3.496, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_12_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_12_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.002169/0.002169, allocations: 69.05 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.5018, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2547/0.7565, allocations: 174.5 MB / 1.492 GB, free: 3.645 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008867/0.7653, allocations: 4.309 MB / 1.496 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.7664, allocations: 31.75 kB / 1.496 GB, free: 15.29 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.7678, allocations: 369.9 kB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.7712, allocations: 1.023 MB / 1.497 GB, free: 13.9 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.7738, allocations: 0.8253 MB / 1.498 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.7763, allocations: 1.29 MB / 1.499 GB, free: 11.79 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.7772, allocations: 415.3 kB / 1.5 GB, free: 11.38 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.779, allocations: 0.7278 MB / 1.5 GB, free: 10.64 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.7806, allocations: 486.1 kB / 1.501 GB, free: 10.17 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.7807, allocations: 52 kB / 1.501 GB, free: 10.12 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.7828, allocations: 0.9393 MB / 1.502 GB, free: 9.18 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.7831, allocations: 215.3 kB / 1.502 GB, free: 8.969 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.7836, allocations: 334.5 kB / 1.502 GB, free: 8.641 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.7855, allocations: 1.137 MB / 1.503 GB, free: 7.5 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7855, allocations: 4 kB / 1.503 GB, free: 7.496 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7855, allocations: 0 / 1.503 GB, free: 7.496 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.7855, allocations: 0 / 1.503 GB, free: 7.496 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.002108/0.7877, allocations: 0.9611 MB / 1.504 GB, free: 6.48 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.7877, allocations: 15.98 kB / 1.504 GB, free: 6.465 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.7894, allocations: 271.2 kB / 1.505 GB, free: 6.199 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.7905, allocations: 0.49 MB / 1.505 GB, free: 5.672 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.7905, allocations: 33 kB / 1.505 GB, free: 5.641 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.7906, allocations: 40 kB / 1.505 GB, free: 5.602 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.792, allocations: 0.6146 MB / 1.506 GB, free: 4.965 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.7921, allocations: 0 / 1.506 GB, free: 4.965 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.7921, allocations: 31.92 kB / 1.506 GB, free: 4.934 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.7922, allocations: 21 kB / 1.506 GB, free: 4.914 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.7937, allocations: 0.5464 MB / 1.506 GB, free: 4.363 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.004571/0.7983, allocations: 2.273 MB / 1.509 GB, free: 1.965 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.7993, allocations: 274.3 kB / 1.509 GB, free: 1.688 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.7999, allocations: 168.7 kB / 1.509 GB, free: 1.52 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.8, allocations: 3.938 kB / 1.509 GB, free: 1.516 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.8, allocations: 38.55 kB / 1.509 GB, free: 1.469 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.8, allocations: 0 / 1.509 GB, free: 1.469 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.005631/0.8056, allocations: 1.096 MB / 1.51 GB, free: 352 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.8057, allocations: 77.11 kB / 1.51 GB, free: 256 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008249/0.8065, allocations: 0.5574 MB / 1.511 GB, free: 15.68 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.8066, allocations: 29.7 kB / 1.511 GB, free: 15.64 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.8068, allocations: 304 kB / 1.511 GB, free: 15.35 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.8069, allocations: 47.62 kB / 1.511 GB, free: 15.3 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.807, allocations: 61.61 kB / 1.511 GB, free: 15.23 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.8072, allocations: 354.8 kB / 1.512 GB, free: 14.88 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/0.8079, allocations: 191.8 kB / 1.512 GB, free: 14.69 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007134/0.8086, allocations: 273.2 kB / 1.512 GB, free: 14.39 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.8099, allocations: 402.1 kB / 1.512 GB, free: 13.97 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.81, allocations: 4 kB / 1.512 GB, free: 13.96 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002875/0.8128, allocations: 0.7302 MB / 1.513 GB, free: 13.23 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.8129, allocations: 4 kB / 1.513 GB, free: 13.22 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.8129, allocations: 8.094 kB / 1.513 GB, free: 13.21 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007481/0.8136, allocations: 176.7 kB / 1.513 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.814, allocations: 75.88 kB / 1.513 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004999/0.819, allocations: 2.234 MB / 1.516 GB, free: 10.6 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.8197, allocations: 71.62 kB / 1.516 GB, free: 10.53 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.8197, allocations: 8 kB / 1.516 GB, free: 10.52 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.0003767/0.8201, allocations: 201.7 kB / 1.516 GB, free: 10.31 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.8202, allocations: 55.67 kB / 1.516 GB, free: 10.26 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.8203, allocations: 51.97 kB / 1.516 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.8203, allocations: 0 / 1.516 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.8203, allocations: 7.938 kB / 1.516 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8203, allocations: 0 / 1.516 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.8238, allocations: 1.125 MB / 1.517 GB, free: 9.004 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8238, allocations: 4.062 kB / 1.517 GB, free: 9 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.8241, allocations: 43.95 kB / 1.517 GB, free: 8.957 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006432/0.8247, allocations: 180.7 kB / 1.517 GB, free: 8.777 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.8247, allocations: 8 kB / 1.517 GB, free: 8.77 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/0.829, allocations: 2.187 MB / 1.519 GB, free: 6.438 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.829, allocations: 3.938 kB / 1.519 GB, free: 6.434 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.8318, allocations: 0.6965 MB / 1.52 GB, free: 5.711 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.8321, allocations: 164.7 kB / 1.52 GB, free: 5.531 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.8322, allocations: 15.94 kB / 1.52 GB, free: 5.516 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005856/0.8328, allocations: 43.89 kB / 1.52 GB, free: 5.473 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.8328, allocations: 19.97 kB / 1.52 GB, free: 5.453 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.8329, allocations: 11.98 kB / 1.52 GB, free: 5.441 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005769/0.8335, allocations: 390.8 kB / 1.521 GB, free: 5.062 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8335, allocations: 0 / 1.521 GB, free: 5.062 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007614/0.8342, allocations: 187.7 kB / 1.521 GB, free: 4.879 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.0003739/0.8346, allocations: 163.1 kB / 1.521 GB, free: 4.711 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.8365, allocations: 0.5218 MB / 1.522 GB, free: 4.176 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8365, allocations: 0 / 1.522 GB, free: 4.176 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008036/0.8373, allocations: 306.9 kB / 1.522 GB, free: 3.863 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.8388, allocations: 313.6 kB / 1.522 GB, free: 3.566 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.8424, allocations: 1.067 MB / 1.523 GB, free: 2.457 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.843, allocations: 0.8659 MB / 1.524 GB, free: 1.562 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004595/0.8435, allocations: 104.5 kB / 1.524 GB, free: 1.461 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.8436, allocations: 35.44 kB / 1.524 GB, free: 1.43 MB / 1.217 GB Notification: Performance of SimCode: time 1.102e-06/0.8436, allocations: 0 / 1.524 GB, free: 1.43 MB / 1.217 GB Notification: Performance of Templates: time 0.025/0.8686, allocations: 12.58 MB / 1.536 GB, free: 5.012 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] 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/jenkins/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: 10.795201862230897]