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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 193.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.908/2.908, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8256/0.8276, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1882/1.016, allocations: 171.8 MB / 1.442 GB, free: 8.137 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00668/1.022, allocations: 4.304 MB / 1.446 GB, free: 3.824 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007471/1.023, allocations: 23.88 kB / 1.446 GB, free: 3.801 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/1.024, allocations: 365.9 kB / 1.446 GB, free: 3.441 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00271/1.027, allocations: 1.034 MB / 1.447 GB, free: 2.402 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/1.029, allocations: 0.8331 MB / 1.448 GB, free: 1.574 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001605/1.031, allocations: 1.298 MB / 1.449 GB, free: 280 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/1.031, allocations: 379.4 kB / 1.45 GB, free: 15.89 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/1.033, allocations: 0.7043 MB / 1.45 GB, free: 15.19 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/1.034, allocations: 480.1 kB / 1.451 GB, free: 14.72 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.073e-05/1.034, allocations: 52 kB / 1.451 GB, free: 14.67 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/1.035, allocations: 0.9471 MB / 1.452 GB, free: 13.72 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/1.036, allocations: 219.3 kB / 1.452 GB, free: 13.51 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003306/1.036, allocations: 326.5 kB / 1.452 GB, free: 13.19 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/1.037, allocations: 1.141 MB / 1.454 GB, free: 12.04 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.037, allocations: 0 / 1.454 GB, free: 12.04 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.313e-06/1.037, allocations: 4 kB / 1.454 GB, free: 12.04 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.357e-06/1.037, allocations: 0 / 1.454 GB, free: 12.04 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.001673/1.039, allocations: 0.9728 MB / 1.455 GB, free: 11.01 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.039, allocations: 8.031 kB / 1.455 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/1.041, allocations: 263.4 kB / 1.455 GB, free: 10.75 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008906/1.042, allocations: 0.4939 MB / 1.455 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/1.042, allocations: 33 kB / 1.455 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/1.042, allocations: 36 kB / 1.455 GB, free: 10.15 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/1.043, allocations: 0.6146 MB / 1.456 GB, free: 9.508 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/1.043, allocations: 4 kB / 1.456 GB, free: 9.504 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/1.043, allocations: 23.98 kB / 1.456 GB, free: 9.48 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/1.043, allocations: 20.94 kB / 1.456 GB, free: 9.461 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/1.044, allocations: 0.5464 MB / 1.457 GB, free: 8.914 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.004001/1.048, allocations: 2.288 MB / 1.459 GB, free: 6.496 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/1.049, allocations: 270.3 kB / 1.459 GB, free: 6.223 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/1.05, allocations: 164.7 kB / 1.459 GB, free: 6.059 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/1.05, allocations: 3.938 kB / 1.459 GB, free: 6.055 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/1.05, allocations: 38.56 kB / 1.459 GB, free: 6.008 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/1.05, allocations: 0 / 1.459 GB, free: 6.008 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.005146/1.055, allocations: 1.092 MB / 1.46 GB, free: 4.887 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/1.055, allocations: 77.11 kB / 1.46 GB, free: 4.793 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/1.056, allocations: 0.5535 MB / 1.461 GB, free: 4.23 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/1.056, allocations: 25.7 kB / 1.461 GB, free: 4.199 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/1.056, allocations: 316 kB / 1.461 GB, free: 3.887 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/1.056, allocations: 43.69 kB / 1.461 GB, free: 3.844 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.056, allocations: 65.64 kB / 1.461 GB, free: 3.773 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.056, allocations: 354.8 kB / 1.462 GB, free: 3.418 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/1.057, allocations: 183.8 kB / 1.462 GB, free: 3.238 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/1.058, allocations: 277.2 kB / 1.462 GB, free: 2.934 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/1.059, allocations: 402.1 kB / 1.462 GB, free: 2.512 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.059, allocations: 0 / 1.462 GB, free: 2.512 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002692/1.062, allocations: 0.728 MB / 1.463 GB, free: 1.773 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.062, allocations: 7.938 kB / 1.463 GB, free: 1.766 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.062, allocations: 4 kB / 1.463 GB, free: 1.762 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/1.062, allocations: 188.8 kB / 1.463 GB, free: 1.574 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/1.063, allocations: 67.89 kB / 1.463 GB, free: 1.508 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/1.067, allocations: 2.232 MB / 1.466 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006152/1.067, allocations: 79.58 kB / 1.466 GB, free: 15.06 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/1.067, allocations: 15.98 kB / 1.466 GB, free: 15.04 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.000294/1.068, allocations: 186.3 kB / 1.466 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.068, allocations: 55.67 kB / 1.466 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/1.068, allocations: 55.97 kB / 1.466 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.068, allocations: 4 kB / 1.466 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.068, allocations: 4 kB / 1.466 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.068, allocations: 0 / 1.466 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/1.071, allocations: 1.121 MB / 1.467 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.071, allocations: 7.984 kB / 1.467 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/1.071, allocations: 31.97 kB / 1.467 GB, free: 13.51 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005505/1.072, allocations: 188.7 kB / 1.467 GB, free: 13.32 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/1.072, allocations: 0 / 1.467 GB, free: 13.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003759/1.076, allocations: 2.195 MB / 1.469 GB, free: 10.99 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.076, allocations: 7.922 kB / 1.469 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/1.078, allocations: 0.7043 MB / 1.47 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/1.078, allocations: 172.7 kB / 1.47 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/1.078, allocations: 0 / 1.47 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/1.079, allocations: 55.88 kB / 1.47 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/1.079, allocations: 11.98 kB / 1.47 GB, free: 9.996 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/1.079, allocations: 11.98 kB / 1.47 GB, free: 9.984 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005016/1.08, allocations: 398.8 kB / 1.471 GB, free: 9.598 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.08, allocations: 0 / 1.471 GB, free: 9.598 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006702/1.08, allocations: 175.8 kB / 1.471 GB, free: 9.426 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.0004853/1.081, allocations: 177.3 kB / 1.471 GB, free: 9.25 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001625/1.082, allocations: 0.5217 MB / 1.472 GB, free: 8.715 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.082, allocations: 0 / 1.472 GB, free: 8.715 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007354/1.083, allocations: 295 kB / 1.472 GB, free: 8.414 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/1.085, allocations: 311.2 kB / 1.472 GB, free: 8.117 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/1.088, allocations: 1.082 MB / 1.473 GB, free: 6.996 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/1.088, allocations: 0.866 MB / 1.474 GB, free: 6.102 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003804/1.089, allocations: 104.5 kB / 1.474 GB, free: 6 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/1.089, allocations: 39.44 kB / 1.474 GB, free: 5.961 MB / 1.17 GB Notification: Performance of SimCode: time 6.31e-07/1.089, allocations: 0 / 1.474 GB, free: 5.961 MB / 1.17 GB Notification: Performance of Templates: time 0.9455/2.034, allocations: 12.64 MB / 1.487 GB, free: 9.492 MB / 1.186 GB " [Timeout remaining time 298] 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 cvode -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_2/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: 12.282653563190252]