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.001962/0.001962, allocations: 85.06 kB / 19.76 MB, free: 2.023 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.00242/0.00242, allocations: 157.3 kB / 23.01 MB, free: 4.961 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.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.766/2.766, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002279/0.002279, allocations: 71.88 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9779/0.9802, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2103/1.19, allocations: 150.9 MB / 1.301 GB, free: 11.66 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007737/1.198, allocations: 4.016 MB / 1.305 GB, free: 8.816 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009036/1.199, allocations: 29.88 kB / 1.305 GB, free: 8.801 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/1.2, allocations: 336.2 kB / 1.306 GB, free: 8.535 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003298/1.204, allocations: 1.042 MB / 1.307 GB, free: 7.738 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/1.206, allocations: 0.8248 MB / 1.307 GB, free: 7.133 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002007/1.208, allocations: 1.297 MB / 1.309 GB, free: 6.391 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000675/1.209, allocations: 390.8 kB / 1.309 GB, free: 6.117 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/1.21, allocations: 0.7451 MB / 1.31 GB, free: 5.668 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/1.211, allocations: 467.5 kB / 1.31 GB, free: 5.406 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/1.212, allocations: 51.34 kB / 1.31 GB, free: 5.406 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/1.213, allocations: 0.7499 MB / 1.311 GB, free: 5.016 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/1.213, allocations: 220 kB / 1.311 GB, free: 4.863 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003638/1.214, allocations: 270.6 kB / 1.311 GB, free: 4.719 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/1.216, allocations: 1.124 MB / 1.313 GB, free: 4.012 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/1.216, allocations: 0 / 1.313 GB, free: 4.012 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.292e-06/1.216, allocations: 1.031 kB / 1.313 GB, free: 4.012 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.105e-05/1.216, allocations: 3.938 kB / 1.313 GB, free: 4.008 MB / 1.154 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.001848/1.217, allocations: 0.8924 MB / 1.313 GB, free: 3.312 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.218, allocations: 9.594 kB / 1.313 GB, free: 3.312 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.219, allocations: 267.6 kB / 1.314 GB, free: 3.195 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/1.22, allocations: 444.6 kB / 1.314 GB, free: 2.844 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/1.22, allocations: 30.22 kB / 1.314 GB, free: 2.832 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/1.22, allocations: 38.84 kB / 1.314 GB, free: 2.82 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/1.222, allocations: 0.8952 MB / 1.315 GB, free: 2.09 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/1.222, allocations: 1 kB / 1.315 GB, free: 2.09 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/1.222, allocations: 17.5 kB / 1.315 GB, free: 2.078 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/1.222, allocations: 18.12 kB / 1.315 GB, free: 2.074 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/1.224, allocations: 0.5415 MB / 1.316 GB, free: 1.82 MB / 1.154 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.004082/1.228, allocations: 1.797 MB / 1.317 GB, free: 492 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/1.229, allocations: 274.7 kB / 1.318 GB, free: 344 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/1.229, allocations: 160.2 kB / 1.318 GB, free: 264 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/1.229, allocations: 1.125 kB / 1.318 GB, free: 264 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.496e-05/1.229, allocations: 45.44 kB / 1.318 GB, free: 212 kB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/1.229, allocations: 0 / 1.318 GB, free: 212 kB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.005655/1.235, allocations: 1.011 MB / 1.319 GB, free: 15.65 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/1.235, allocations: 77.11 kB / 1.319 GB, free: 15.56 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/1.236, allocations: 425.8 kB / 1.319 GB, free: 15.14 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/1.236, allocations: 25.7 kB / 1.319 GB, free: 15.11 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/1.236, allocations: 319.6 kB / 1.32 GB, free: 14.79 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/1.236, allocations: 39.69 kB / 1.32 GB, free: 14.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.236, allocations: 65.64 kB / 1.32 GB, free: 14.68 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.236, allocations: 346.8 kB / 1.32 GB, free: 14.33 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/1.237, allocations: 191.8 kB / 1.32 GB, free: 14.14 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000798/1.238, allocations: 287.5 kB / 1.32 GB, free: 13.82 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.239, allocations: 400.2 kB / 1.321 GB, free: 13.4 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.239, allocations: 3.938 kB / 1.321 GB, free: 13.4 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00287/1.242, allocations: 0.719 MB / 1.322 GB, free: 12.67 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.242, allocations: 8.094 kB / 1.322 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.242, allocations: 7.938 kB / 1.322 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006884/1.243, allocations: 184.6 kB / 1.322 GB, free: 12.47 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/1.243, allocations: 71.95 kB / 1.322 GB, free: 12.4 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/1.247, allocations: 2.098 MB / 1.324 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/1.248, allocations: 63.73 kB / 1.324 GB, free: 10.14 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/1.248, allocations: 16 kB / 1.324 GB, free: 10.13 MB / 1.17 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.0002933/1.248, allocations: 181.8 kB / 1.324 GB, free: 9.941 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/1.248, allocations: 39.77 kB / 1.324 GB, free: 9.902 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.995e-05/1.249, allocations: 47.27 kB / 1.324 GB, free: 9.855 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.249, allocations: 0 / 1.324 GB, free: 9.855 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.249, allocations: 3.938 kB / 1.324 GB, free: 9.852 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/1.249, allocations: 4.188 kB / 1.324 GB, free: 9.848 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/1.252, allocations: 1 MB / 1.325 GB, free: 8.801 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.252, allocations: 0 / 1.325 GB, free: 8.801 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/1.252, allocations: 35.95 kB / 1.325 GB, free: 8.766 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005972/1.253, allocations: 188.8 kB / 1.325 GB, free: 8.578 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/1.253, allocations: 4 kB / 1.325 GB, free: 8.574 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004002/1.257, allocations: 2.033 MB / 1.327 GB, free: 6.438 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.257, allocations: 0 / 1.327 GB, free: 6.438 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/1.26, allocations: 0.6926 MB / 1.328 GB, free: 5.719 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/1.26, allocations: 79.89 kB / 1.328 GB, free: 5.641 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/1.26, allocations: 4 kB / 1.328 GB, free: 5.637 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/1.26, allocations: 47.95 kB / 1.328 GB, free: 5.59 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/1.261, allocations: 15.97 kB / 1.328 GB, free: 5.574 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/1.261, allocations: 11.98 kB / 1.328 GB, free: 5.562 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003789/1.261, allocations: 295.1 kB / 1.329 GB, free: 5.273 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.261, allocations: 0 / 1.329 GB, free: 5.273 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000736/1.262, allocations: 195.5 kB / 1.329 GB, free: 5.082 MB / 1.17 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.0003031/1.262, allocations: 167.6 kB / 1.329 GB, free: 4.91 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001753/1.264, allocations: 0.5179 MB / 1.329 GB, free: 4.379 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.264, allocations: 7.938 kB / 1.329 GB, free: 4.371 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007982/1.265, allocations: 291 kB / 1.33 GB, free: 4.074 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/1.266, allocations: 198.5 kB / 1.33 GB, free: 3.887 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/1.269, allocations: 1.057 MB / 1.331 GB, free: 2.793 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/1.269, allocations: 260 kB / 1.331 GB, free: 2.512 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003306/1.27, allocations: 83.22 kB / 1.331 GB, free: 2.43 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/1.27, allocations: 36.48 kB / 1.331 GB, free: 2.395 MB / 1.17 GB Notification: Performance of SimCode: time 6.91e-07/1.27, allocations: 4 kB / 1.331 GB, free: 2.391 MB / 1.17 GB Notification: Performance of Templates: time 0.01882/1.288, allocations: 9.647 MB / 1.341 GB, free: 8.969 MB / 1.186 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 -s ida -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/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: 9.608888612943701]